diff options
author | Sven Eckelmann <sven@narfation.org> | 2016-07-02 09:52:13 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2016-07-05 12:40:01 +0200 |
commit | 10c78f5854d361ded4736c1831948e0a5f67b932 (patch) | |
tree | ab2abbe8074f82ec9de01105ce58514aa06cb7c1 /block/blk-ioc.c | |
parent | qlcnic: use the correct ring in qlcnic_83xx_process_rcv_ring_diag() (diff) | |
download | linux-10c78f5854d361ded4736c1831948e0a5f67b932.tar.xz linux-10c78f5854d361ded4736c1831948e0a5f67b932.zip |
batman-adv: Avoid nullptr dereference in bla after vlan_insert_tag
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>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions