bgmac: fix a missing check for build_skb
when build_skb failed, it may occure a NULL pointer. So add a 'NULL check' for it. Signed-off-by: NWeidong Wang <wangweidong1@huawei.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录