diff options
| author | Richard Gobert <richardbgobert@gmail.com> | 2025-09-23 10:59:04 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-09-25 12:42:49 +0200 |
| commit | 25c550464acd40803d63868dfa4a42506df48b88 (patch) | |
| tree | e3a22243b7cdf4ace367053738e2e56310919393 /include/net | |
| parent | bb6a22651b893c08c7855b34aa618b2a71bece9e (diff) | |
| download | linux-25c550464acd40803d63868dfa4a42506df48b88.tar.gz linux-25c550464acd40803d63868dfa4a42506df48b88.tar.bz2 linux-25c550464acd40803d63868dfa4a42506df48b88.zip | |
net: gro: remove is_ipv6 from napi_gro_cb
Remove is_ipv6 from napi_gro_cb and use sk->sk_family instead.
This frees up space for another ip_fixedid bit that will be added
in the next commit.
udp_sock_create always creates either a AF_INET or a AF_INET6 socket,
so using sk->sk_family is reliable. In IPv6-FOU, cfg->ipv6_v6only is
always enabled.
Signed-off-by: Richard Gobert <richardbgobert@gmail.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250923085908.4687-2-richardbgobert@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/gro.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/gro.h b/include/net/gro.h index a0fca7ac6e7e..87c68007f949 100644 --- a/include/net/gro.h +++ b/include/net/gro.h @@ -71,9 +71,6 @@ struct napi_gro_cb { /* Free the skb? */ u8 free:2; - /* Used in foo-over-udp, set in udp[46]_gro_receive */ - u8 is_ipv6:1; - /* Used in GRE, set in fou/gue_gro_receive */ u8 is_fou:1; |
