]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
netfilter: nfnetlink_log: fix mac address for 6in4 tunnels
authorBob Hockney <bhockney@ix.netcom.com>
Sun, 16 Dec 2012 18:34:11 +0000 (19:34 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 16 Dec 2012 22:41:31 +0000 (23:41 +0100)
commit0c36b48b36dc84d4215dc9d1cde1bda829214ba6
treec3af745bbb3a64c645ccb789c07c462e4108b70d
parent97cf00e93cc24898493e7a058105e3215257ee04
netfilter: nfnetlink_log: fix mac address for 6in4 tunnels

For tunnelled ipv6in4 packets, the LOG target (xt_LOG.c) adjusts
the start of the mac field to start at the ethernet header instead
of the ipv4 header for the tunnel. This patch conforms what is
passed by the NFLOG target through nfnetlink to what the LOG target
does. Code borrowed from xt_LOG.c.

Signed-off-by: Bob Hockney <bhockney@ix.netcom.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nfnetlink_log.c