From: Nicolas Cavallari Date: Thu, 16 Jun 2011 15:27:04 +0000 (+0200) Subject: netfilter: fix looped (broad|multi)cast's MAC handling X-Git-Tag: v3.0-rc4~5^2~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c38de4c1f8da799bdca0e4bb40ca13f2174d3e8;p=pandora-kernel.git netfilter: fix looped (broad|multi)cast's MAC handling By default, when broadcast or multicast packet are sent from a local application, they are sent to the interface then looped by the kernel to other local applications, going throught netfilter hooks in the process. These looped packet have their MAC header removed from the skb by the kernel looping code. This confuse various netfilter's netlink queue, netlink log and the legacy ip_queue, because they try to extract a hardware address from these packets, but extracts a part of the IP header instead. This patch prevent NFQUEUE, NFLOG and ip_QUEUE to include a MAC header if there is none in the packet. Signed-off-by: Nicolas Cavallari Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed