net: create tcp_gro_header_pull helper function
authorFelix Fietkau <nbd@nbd.name>
Thu, 2 May 2024 08:44:46 +0000 (10:44 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Mon, 6 May 2024 09:54:04 +0000 (11:54 +0200)
commit7516b27c555c1711ec17a5d891befb6986e573a3
tree0de52e8a9cadd1a74e7cc1ed774154482d0f4139
parent80e85fbdf19ecc4dfa31ecf639adb55555db02fe
net: create tcp_gro_header_pull helper function

Pull the code out of tcp_gro_receive in order to access the tcp header
from tcp4/6_gro_receive.

Acked-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Reviewed-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/tcp.h
net/ipv4/tcp_offload.c
net/ipv6/tcpv6_offload.c