diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-03-13 16:33:29 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-03-18 16:21:54 +0100 |
commit | e166e4fdaced850bee3d5ee12a5740258fb30587 (patch) | |
tree | 1d44f8ea9b079e674837793e01c6cab131b3a67f /block/blk-mq-rdma.c | |
parent | 05b7639da55f5555b9866a1f4b7e8995232a6323 (diff) | |
download | linux-e166e4fdaced850bee3d5ee12a5740258fb30587.tar.bz2 |
netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
Since Commit 21d1196a35f5 ("ipv4: set transport header earlier"),
skb->transport_header has been always set before entering INET
netfilter. This patch is to set skb->transport_header for bridge
before entering INET netfilter by bridge-nf-call-iptables.
It also fixes an issue that sctp_error() couldn't compute a right
csum due to unset skb->transport_header.
Fixes: e6d8b64b34aa ("net: sctp: fix and consolidate SCTP checksumming code")
Reported-by: Li Shuang <shuali@redhat.com>
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'block/blk-mq-rdma.c')
0 files changed, 0 insertions, 0 deletions