From: Florian Westphal Date: Mon, 20 Apr 2015 10:35:47 +0000 (+0200) Subject: netfilter: bridge: fix NULL deref in physin/out ifindex helpers X-Git-Tag: omap-for-v4.2/omap1-v2~42^2~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=547c4b547e07dcc60874b6ef6252dd49ff74aec1;p=pandora-kernel.git netfilter: bridge: fix NULL deref in physin/out ifindex helpers Might not have an outdev yet. We'll oops when iface goes down while skbs are still nfqueue'd: RIP: 0010:[] [] dev_cmp+0x4f/0x80 nfqnl_rcv_dev_event+0xe2/0x150 notifier_call_chain+0x53/0xa0 Fixes: c737b7c4510026 ("netfilter: bridge: add helpers for fetching physin/outdev") Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed