diff options
author | wangweidong <wangweidong1@huawei.com> | 2016-01-13 11:06:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-13 00:24:14 -0500 |
commit | f1640c3ddeec12804bc9a21feee85fc15aca95f6 (patch) | |
tree | 649018db5e4b76d456b53f1ad8a737b342af0fe7 /net/netlink/genetlink.c | |
parent | ddb5388ffd0ad75d07e7b78181a0b579824ba6f0 (diff) | |
download | linux-f1640c3ddeec12804bc9a21feee85fc15aca95f6.tar.gz linux-f1640c3ddeec12804bc9a21feee85fc15aca95f6.tar.bz2 linux-f1640c3ddeec12804bc9a21feee85fc15aca95f6.zip |
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>
Diffstat (limited to 'net/netlink/genetlink.c')
0 files changed, 0 insertions, 0 deletions