net: gro: rename skb_gro_header_hard()
authorEric Dumazet <edumazet@google.com>
Fri, 1 Mar 2024 19:37:37 +0000 (19:37 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 5 Mar 2024 12:30:11 +0000 (13:30 +0100)
commit93e16ea025d234d0ed01d9dc9c819257a2159bb6
tree9e8191fedfa92d780b9b9dc90008576ebaf1483a
parent9452c8b459f4641156a09c2212a835a6df2a137e
net: gro: rename skb_gro_header_hard()

skb_gro_header_hard() is renamed to skb_gro_may_pull() to match
the convention used by common helpers like pskb_may_pull().

This means the condition is inverted:

if (skb_gro_header_hard(skb, hlen))
slow_path();

becomes:

if (!skb_gro_may_pull(skb, hlen))
slow_path();

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/geneve.c
include/net/gro.h
net/core/gro.c
net/ipv4/fou_core.c
net/ipv4/gre_offload.c
net/ipv4/tcp_offload.c