ipv6/gso: remove temporary HBH/jumbo header
authorEric Dumazet <edumazet@google.com>
Fri, 13 May 2022 18:34:01 +0000 (11:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2022 09:18:56 +0000 (10:18 +0100)
commit09f3d1a3a52c696208008618a67e2c7c3fb16d41
tree902632742cd2ae5dd1fba797cdb62fe97ae4e473
parent7c96d8ec96bb71aac54c9f872aaa65d7411ab864
ipv6/gso: remove temporary HBH/jumbo header

ipv6 tcp and gro stacks will soon be able to build big TCP packets,
with an added temporary Hop By Hop header.

If GSO is involved for these large packets, we need to remove
the temporary HBH header before segmentation happens.

v2: perform HBH removal from ipv6_gso_segment() instead of
    skb_segment() (Alexander feedback)

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h
net/ipv6/ip6_offload.c