On 04/03/2023 02:12, Xin Long wrote: > 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@xxxxxxxxx> > --- > net/bridge/br_netfilter_ipv6.c | 33 ++++++++++++++------------------- > 1 file changed, 14 insertions(+), 19 deletions(-) > Acked-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>