Skip to content
Commit f1640c3d authored by wangweidong's avatar wangweidong Committed by David S. Miller
Browse files

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: default avatarWeidong Wang <wangweidong1@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ddb5388f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment