2022-02-17 13:49:11

by Alexei Starovoitov

[permalink] [raw]
Subject: Re: [PATCH v3] net: fix wrong network header length

On Tue, Feb 15, 2022 at 11:37 PM Lina Wang <[email protected]> wrote:
>
> When clatd starts with ebpf offloaing, and NETIF_F_GRO_FRAGLIST is enable,
> several skbs are gathered in skb_shinfo(skb)->frag_list. The first skb's
> ipv6 header will be changed to ipv4 after bpf_skb_proto_6_to_4,
> network_header\transport_header\mac_header have been updated as ipv4 acts,
> but other skbs in frag_list didnot update anything, just ipv6 packets.

Please add a test that demonstrates the issue and verifies the fix.