diff options
author | Xin Long <lucien.xin@gmail.com> | 2023-03-08 00:31:29 +0300 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-03-08 16:25:40 +0300 |
commit | 0b24bd71a6c0214aaa2115302dd6598b89d2fa8a (patch) | |
tree | 1783db875fe7e229fd2f05f4cfc4874052acd17c /net/8021q | |
parent | a7f1a2f43e683c8ffca691d45f2cb32c052158fa (diff) | |
download | linux-0b24bd71a6c0214aaa2115302dd6598b89d2fa8a.tar.xz |
netfilter: bridge: move pskb_trim_rcsum out of br_nf_check_hbh_len
br_nf_check_hbh_len() is a function to check the Hop-by-hop option
header, and shouldn't do pskb_trim_rcsum() there. This patch is to
pass pkt_len out to br_validate_ipv6() and do pskb_trim_rcsum()
after calling br_validate_ipv6() instead.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Aaron Conole <aconole@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions