On 04/03/2023 02:12, Xin Long wrote: > For IPv6 Jumbo packets, the ipv6_hdr(skb)->payload_len is always 0, > and its real payload_len ( > 65535) is saved in hbh exthdr. With 0 > length for the jumbo packets, all data and exthdr will be trimmed > in nf_ct_skb_network_trim(). > > This patch is to call nf_ip6_check_hbh_len() to get real pkt_len > of the IPv6 packet, similar to br_validate_ipv6(). > > Signed-off-by: Xin Long <lucien.xin@xxxxxxxxx> > --- > net/netfilter/nf_conntrack_ovs.c | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > I'd also recommend to change the scope of "err" as Simon already pointed out. Other than that looks good to me. Reviewed-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>