diff options
author | Florian Westphal <fw@strlen.de> | 2015-02-16 18:57:53 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-03 02:10:51 +0100 |
commit | 72500bc11e4da570bd66c0965e2dc74f52c8aba2 (patch) | |
tree | ebedd0a97d7b72022078435b9bae4215ce2f5023 /net/bridge/br_netlink.c | |
parent | ee586bbc28fb7128133457cf711880d13a3b7ce4 (diff) | |
download | blackbird-op-linux-72500bc11e4da570bd66c0965e2dc74f52c8aba2.tar.gz blackbird-op-linux-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 'net/bridge/br_netlink.c')
0 files changed, 0 insertions, 0 deletions