]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove sk_route_nocaps
authorEric Dumazet <edumazet@google.com>
Mon, 15 Nov 2021 19:02:35 +0000 (11:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Nov 2021 13:10:34 +0000 (13:10 +0000)
commit5fa9f18dc589b02199344f3c0c6de6ae98746eff
tree4831996bbc6768b246767be29c5dd16ec2776f9c
parentc6e925b2a1e1f89a1f45e318edfe650b9d1e8e2a
net: remove sk_route_nocaps

Instead of using a full netdev_features_t, we can use a single bit,
as sk_route_nocaps is only used to remove NETIF_F_GSO_MASK from
sk->sk_route_cap.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv6/ip6_output.c