diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-07-02 10:52:14 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-07-05 13:40:01 +0300 |
commit | 60154a1e0495ffb8343a95cefe1e874634572fa8 (patch) | |
tree | 254fdeb46565e5e8e7f56782f60cfc713ebdffcc /firmware/sun | |
parent | 10c78f5854d361ded4736c1831948e0a5f67b932 (diff) | |
download | linux-60154a1e0495ffb8343a95cefe1e874634572fa8.tar.xz |
batman-adv: Avoid nullptr dereference in dat after vlan_insert_tag
vlan_insert_tag can return NULL on errors. The distributed arp table code
therefore has to check the return value of vlan_insert_tag for NULL before
it can safely operate on this pointer.
Fixes: be1db4f6615b ("batman-adv: make the Distributed ARP Table vlan aware")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'firmware/sun')
0 files changed, 0 insertions, 0 deletions