netfilter: xt_LOG: fix mark logging for IPv6 packets
commitd660164d79b67f879db35a7d61e47d3b99bc714e
authorMichal Kubeček <mkubecek@suse.cz>
Tue, 28 May 2013 22:37:03 +0000 (28 22:37 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 29 May 2013 10:29:18 +0000 (29 12:29 +0200)
tree8aa572687a6d1d46387425c59816975c101ecfc3
parentdc7b3eb900aab02e5cafbca3948d005be13fb4a5
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