netfilter: xtables: fix mangle tables
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 11 Feb 2010 17:41:35 +0000 (18:41 +0100)
committerPatrick McHardy <kaber@trash.net>
Thu, 11 Feb 2010 17:41:35 +0000 (18:41 +0100)
commitb2907e501945d5d13326a6a7441c13e41cd0e799
tree3560769d57cc6acd24d73ca70d39c0400a483712
parent9d288dffe3a276e1f06ba556845c456d696c5a4f
netfilter: xtables: fix mangle tables

In POST_ROUTING hook, calling dev_net(in) is going to oops.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/iptable_mangle.c
net/ipv6/netfilter/ip6table_mangle.c