From: Marek Lindner Date: Wed, 23 Apr 2014 19:44:25 +0000 (+0800) Subject: batman-adv: fix indirect hard_iface NULL dereference X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~21^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a4142363b11952d3aa76ac78004502c0c2fe6e;p=pandora-kernel.git batman-adv: fix indirect hard_iface NULL dereference If hard_iface is NULL and goto out is made batadv_hardif_free_ref() doesn't check for NULL before dereferencing it to get to refcount. Introduced in cb1c92ec37fb70543d133a1fa7d9b54d6f8a1ecd ("batman-adv: add debugfs support to view multiif tables"). Reported-by: Sven Eckelmann Signed-off-by: Marek Lindner Acked-by: Antonio Quartulli Signed-off-by: Antonio Quartulli --- Reading git-diff-tree failed