diff options
author | wangweidong <wangweidong1@huawei.com> | 2016-01-13 06:06:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-13 08:24:14 +0300 |
commit | f1640c3ddeec12804bc9a21feee85fc15aca95f6 (patch) | |
tree | 649018db5e4b76d456b53f1ad8a737b342af0fe7 /net/batman-adv/multicast.c | |
parent | ddb5388ffd0ad75d07e7b78181a0b579824ba6f0 (diff) | |
download | linux-f1640c3ddeec12804bc9a21feee85fc15aca95f6.tar.xz |
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/batman-adv/multicast.c')
0 files changed, 0 insertions, 0 deletions