]> 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)
commit924091986ba7f8fb3fe646b4d56db198b3d7dd08
tree8aa572687a6d1d46387425c59816975c101ecfc3
parentf15c383fe99edbdd23c4399844d2dbb246053845
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