]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb388fad1043a58a6d223b41e8756ef416c76d7ac
tree902632742cd2ae5dd1fba797cdb62fe97ae4e473
parentab7671d06511dc93b130560979aaf625570bd060
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