Re: [PATCH net-next v2] bgmac: fix a missing check for build_skb

From: Eric Dumazet
Date: Wed Jan 13 2016 - 09:52:51 EST


On Wed, 2016-01-13 at 19:53 +0800, Weidong Wang wrote:
> when build_skb failed, it may occur a NULL pointer.
> So add a 'NULL check' for it.
>
> Signed-off-by: Weidong Wang <wangweidong1@xxxxxxxxxx>
> ---
> change log:
> v2:
> fix the error logic change which pointed by Paolo Abni
> and Felix.

This is too late, you have to send a relative patch, since the prior one
was merged.