inet: move inet->bind_address_no_port to inet->inet_flags
authorEric Dumazet <edumazet@google.com>
Wed, 16 Aug 2023 08:15:44 +0000 (08:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Aug 2023 10:09:17 +0000 (11:09 +0100)
commitca571e2eb7eb6202aa367e01c811aab023272f38
tree00d2396e709e8e8274a64205378a81cc95045825
parentf04b8d3478a3a63f17d8dc0dc6da16a828b48df0
inet: move inet->bind_address_no_port to inet->inet_flags

IP_BIND_ADDRESS_NO_PORT 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>
include/net/inet_sock.h
net/ipv4/af_inet.c
net/ipv4/inet_diag.c
net/ipv4/ip_sockglue.c
net/ipv6/af_inet6.c