From: Florian Westphal Date: Mon, 16 Feb 2015 17:57:53 +0000 (+0100) Subject: netfilter: bridge: rework reject handling X-Git-Tag: omap-for-v4.2/o2_dc~131^2~292^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72500bc11e4da570bd66c0965e2dc74f52c8aba2;p=pandora-kernel.git netfilter: bridge: rework reject handling bridge reject handling is not straightforward, there are many subtle differences depending on configuration. skb->dev is either the bridge port (PRE_ROUTING) or the bridge itself (INPUT), so we need to use indev instead. Also, checksum validation will only work reliably if we trim skb according to the l3 header size. While at it, add csum validation for ipv6 and skip existing tests if skb was already checked e.g. by GRO. Signed-off-by: Florian Westphal Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed