[NETFILTER]: nfnetlink_log: fix crash on bridged packet
authorPatrick McHardy <kaber@trash.net>
Wed, 7 Mar 2007 04:24:53 +0000 (20:24 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Mar 2007 00:08:03 +0000 (16:08 -0800)
commitba5dcee128d9f2877a6d2a5b150c24d90d77dad1
treeefd5a53fcb30f56bf912bb2eb81ab156205d9a1b
parent881dbfe8accc9434dd0d7d052505e3dca6ad9b3c
[NETFILTER]: nfnetlink_log: fix crash on bridged packet

physoutdev is only set on purely bridged packet, when nfnetlink_log is used
in the OUTPUT/FORWARD/POSTROUTING hooks on packets forwarded from or to a
bridge it crashes when trying to dereference skb->nf_bridge->physoutdev.

Reported by Holger Eitzenberger <heitzenberger@astaro.com>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c