diff options
| author | Sven Eckelmann <sven@narfation.org> | 2020-03-18 00:27:02 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-20 09:06:27 +0100 |
| commit | e1aba83cb0d0ad17fc81c075787e55d20b31edf5 (patch) | |
| tree | ae99ca4ade722b65a610f310823e54437b72647d /scripts/sortextable.c | |
| parent | 8227e1b64b34b6e28d6d92ee865c471ffd25721d (diff) | |
batman-adv: Avoid nullptr dereference in bla after vlan_insert_tag
commit 10c78f5854d361ded4736c1831948e0a5f67b932 upstream.
vlan_insert_tag can return NULL on errors. The bridge loop avoidance code
therefore has to check the return value of vlan_insert_tag for NULL before
it can safely operate on this pointer.
Fixes: 23721387c409 ("batman-adv: add basic bridge loop avoidance code")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/sortextable.c')
0 files changed, 0 insertions, 0 deletions
