aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2015-02-16 18:57:53 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-03-03 02:10:51 +0100
commit72500bc11e4da570bd66c0965e2dc74f52c8aba2 (patch)
treeebedd0a97d7b72022078435b9bae4215ce2f5023 /include/net
parentnetfilter: reject: don't send icmp error if csum is invalid (diff)
downloadlinux-dev-72500bc11e4da570bd66c0965e2dc74f52c8aba2.tar.xz
linux-dev-72500bc11e4da570bd66c0965e2dc74f52c8aba2.zip
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 <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions