]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: xt_LOG: fix mark logging for IPv6 packets
authorMichal Kubeček <mkubecek@suse.cz>
Tue, 28 May 2013 22:37:03 +0000 (22:37 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 29 May 2013 10:29:18 +0000 (12:29 +0200)
commitf05568d18670d1769f0ebbe5f572eb4a9c8c742d
tree8aa572687a6d1d46387425c59816975c101ecfc3
parentd5b5f4d85a66767ae3eded80e44484ae06f0f04b
netfilter: xt_LOG: fix mark logging for IPv6 packets

In dump_ipv6_packet(), the "recurse" parameter is zero only if
dumping contents of a packet embedded into an ICMPv6 error
message. Therefore we want to log packet mark if recurse is
non-zero, not when it is zero.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/xt_LOG.c