diff options
| author | Marek Lindner <mareklindner@neomailbox.ch> | 2015-06-09 21:24:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-22 14:43:20 -0700 |
| commit | b046d646f1cbe1453b4ae63dc749e62f6e01c9c7 (patch) | |
| tree | 397fd8b8f996103b129ba3e737ea7ee8bd16c941 /lib/gcd.c | |
| parent | 1fc6fc1d5b9dc9c878b2b1c044e079b193e6cb92 (diff) | |
batman-adv: fix kernel crash due to missing NULL checks
commit 354136bcc3c4f40a2813bba8f57ca5267d812d15 upstream.
batadv_softif_vlan_get() may return NULL which has to be verified
by the caller.
Fixes: 35df3b298fc8 ("batman-adv: fix TT VLAN inconsistency on VLAN re-add")
Reported-by: Ryan Thompson <ryan@eero.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/gcd.c')
0 files changed, 0 insertions, 0 deletions
