]> Git Repo - linux.git/commit - net/batman-adv/translation-table.c
batman-adv: fix kernel crash due to missing NULL checks
authorMarek Lindner <[email protected]>
Tue, 9 Jun 2015 13:24:36 +0000 (21:24 +0800)
committerAntonio Quartulli <[email protected]>
Tue, 4 Aug 2015 22:31:46 +0000 (00:31 +0200)
commit354136bcc3c4f40a2813bba8f57ca5267d812d15
treed80fda18c6c416690f648faedf85e23966246165
parentf202a666e933f3c7557126d63833a6a3b577ac15
batman-adv: fix kernel crash due to missing NULL checks

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 <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
net/batman-adv/soft-interface.c
net/batman-adv/translation-table.c
This page took 0.052387 seconds and 4 git commands to generate.