]> git.karo-electronics.de Git - karo-tx-linux.git/commit
nfnetlink_log: fix crash on bridged packet
authorPatrick McHardy <kaber@trash.net>
Wed, 7 Mar 2007 21:34:45 +0000 (22:34 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 13 Mar 2007 18:26:46 +0000 (11:26 -0700)
commit7f5c005cb148fe91362e14a1f78517b8b37f9abd
tree2971764c45c4063f50f2632d876300f16ed0e4f5
parentd00aff441937a3ed3b424f2bf57f5639318e7c58
nfnetlink_log: fix crash on bridged packet

[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: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nfnetlink_log.c