mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
inet: move inet->nodefrag to inet->inet_flags
IP_NODEFRAG socket option can now be set/read without locking the socket. Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Soheil Hassas Yeganeh <soheil@google.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
b1c0356a58
commit
f04b8d3478
@@ -229,7 +229,6 @@ struct inet_sock {
|
||||
__u8 min_ttl;
|
||||
__u8 mc_ttl;
|
||||
__u8 pmtudisc;
|
||||
__u8 nodefrag:1;
|
||||
__u8 bind_address_no_port:1,
|
||||
defer_connect:1; /* Indicates that fastopen_connect is set
|
||||
* and cookie exists so we defer connect
|
||||
@@ -270,6 +269,7 @@ enum {
|
||||
INET_FLAGS_MC_ALL = 14,
|
||||
INET_FLAGS_TRANSPARENT = 15,
|
||||
INET_FLAGS_IS_ICSK = 16,
|
||||
INET_FLAGS_NODEFRAG = 17,
|
||||
};
|
||||
|
||||
/* cmsg flags for inet */
|
||||
|
||||
Reference in New Issue
Block a user