Eric Dumazet b4d84bce4c inet: set/get simple options locklessly
Now we have inet->inet_flags, we can set following options
without having to hold the socket lock:

IP_PKTINFO, IP_RECVTTL, IP_RECVTOS, IP_RECVOPTS, IP_RETOPTS,
IP_PASSSEC, IP_RECVORIGDSTADDR, IP_RECVFRAGSIZE.

ip_sock_set_pktinfo() no longer hold the socket lock.

Similarly we can get the following options whithout holding
the socket lock:

IP_PKTINFO, IP_RECVTTL, IP_RECVTOS, IP_RECVOPTS, IP_RETOPTS,
IP_PASSSEC, IP_RECVORIGDSTADDR, IP_CHECKSUM, IP_RECVFRAGSIZE.

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>
2023-08-16 11:09:17 +01:00
..
2023-05-31 13:06:57 +02:00
2021-05-17 15:29:35 -07:00
2023-03-31 21:37:06 -07:00
2023-02-01 20:54:27 -08:00
2023-04-13 16:43:38 -07:00
2022-11-16 12:48:44 +00:00
2023-08-16 11:09:16 +01:00
2023-01-26 10:52:18 +01:00
2021-05-17 15:29:35 -07:00
2023-08-16 11:09:16 +01:00
2022-09-20 10:21:49 -07:00
2022-12-20 03:13:45 +01:00
2023-08-06 08:24:56 +01:00
2021-05-17 15:29:35 -07:00
2022-11-16 09:43:35 +00:00
2023-08-16 11:09:16 +01:00