diff options
author | 2024-03-01 19:37:38 +0000 | |
---|---|---|
committer | 2024-03-05 13:30:11 +0100 | |
commit | bd56a29c7a4ebcd3ca69505a2e676449e60965f3 (patch) | |
tree | 437e3a5ac66c0767eb79e9d651b13bd7b671a541 /net/core/dev.c | |
parent | net: gro: rename skb_gro_header_hard() (diff) | |
download | linux-rng-bd56a29c7a4ebcd3ca69505a2e676449e60965f3.tar.xz linux-rng-bd56a29c7a4ebcd3ca69505a2e676449e60965f3.zip |
net: gro: change skb_gro_network_header()
Change skb_gro_network_header() to accept a const sk_buff
and to no longer check if frag0 is NULL or not.
This allows to remove skb_gro_frag0_invalidate()
which is seen in profiles when header-split is enabled.
sk_buff parameter is constified for skb_gro_header_fast(),
inet_gro_compute_pseudo() and ip6_gro_compute_pseudo().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions