mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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: Weidong Wang <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ddb5388ffd
commit
f1640c3dde
1 changed files with 5 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue