net: remove sk_route_forced_caps
We were only using one bit, and we can replace it by sk_is_tcp() Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
42f67eea3b
commit
d0d598ca86
@@ -285,8 +285,6 @@ struct bpf_local_storage;
|
||||
* @sk_no_check_rx: allow zero checksum in RX packets
|
||||
* @sk_route_caps: route capabilities (e.g. %NETIF_F_TSO)
|
||||
* @sk_route_nocaps: forbidden route capabilities (e.g NETIF_F_GSO_MASK)
|
||||
* @sk_route_forced_caps: static, forced route capabilities
|
||||
* (set in tcp_init_sock())
|
||||
* @sk_gso_type: GSO type (e.g. %SKB_GSO_TCPV4)
|
||||
* @sk_gso_max_size: Maximum GSO segment size to build
|
||||
* @sk_gso_max_segs: Maximum number of GSO segments
|
||||
@@ -461,7 +459,6 @@ struct sock {
|
||||
struct page_frag sk_frag;
|
||||
netdev_features_t sk_route_caps;
|
||||
netdev_features_t sk_route_nocaps;
|
||||
netdev_features_t sk_route_forced_caps;
|
||||
int sk_gso_type;
|
||||
unsigned int sk_gso_max_size;
|
||||
gfp_t sk_allocation;
|
||||
|
||||
Reference in New Issue
Block a user