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-03-29 08:22:52 +01:00
2023-08-09 15:32:43 -07:00
2022-12-25 13:38:09 -08:00
2023-08-10 14:10:53 -07:00
2023-06-24 15:50:13 -07:00
2023-06-24 15:50:13 -07:00
2023-06-24 15:50:13 -07:00
2023-05-26 23:14:49 +02:00
2023-08-11 11:57:54 -07:00
2023-08-07 13:05:19 -07:00
2023-05-31 13:06:57 +02:00
2023-07-27 17:11:29 -07:00
2023-06-24 15:50:13 -07:00
2023-07-29 18:13:41 +01:00
2023-08-02 09:07:34 +02:00
2023-08-15 19:18:34 -07:00
2023-08-01 21:07:46 -07:00
2023-08-10 14:10:53 -07:00
2023-08-15 15:00:45 -07:00
2022-11-01 10:04:52 -07:00
2023-08-09 13:08:09 -07:00
2022-12-07 20:02:44 -08:00
2023-08-15 15:01:03 -07:00
2023-07-28 14:07:59 -07:00
2023-07-31 20:11:47 -07:00
2023-08-15 15:00:45 -07:00
2023-08-16 11:09:17 +01:00
2023-08-16 11:09:16 +01:00
2023-03-16 17:34:40 -07:00
2023-06-24 15:50:13 -07:00
2023-07-19 20:36:16 -07:00
2023-08-16 11:09:16 +01:00
2023-08-09 15:34:28 -07:00
2023-07-03 11:26:05 -07:00
2023-06-24 15:41:46 -07:00
2023-06-24 15:50:13 -07:00
2023-06-10 00:11:41 -07:00
2023-08-14 07:06:14 +01:00
2023-08-15 14:54:44 -07:00
2023-08-10 14:10:53 -07:00
2023-08-02 12:28:22 -07:00
2023-08-15 15:01:03 -07:00
2023-06-24 15:50:13 -07:00
2023-08-15 15:00:45 -07:00
2023-06-10 00:11:41 -07:00
2023-08-15 14:54:44 -07:00
2023-08-10 14:10:53 -07:00
2023-06-24 15:50:13 -07:00
2022-08-29 12:47:15 +01:00
2023-07-17 09:02:30 +01:00
2023-08-13 12:25:42 +01:00
2023-04-06 20:36:27 +02:00
2023-06-24 15:50:13 -07:00
2023-06-28 16:43:10 -07:00
2023-08-09 15:59:21 -07:00
2023-07-24 09:39:31 +01:00
2023-08-10 14:10:53 -07:00
2023-07-28 14:07:59 -07:00
2023-07-21 08:54:03 +01:00
2023-08-15 15:00:45 -07:00
2023-08-10 14:10:53 -07:00
2023-08-09 15:32:43 -07:00
2023-07-31 14:41:08 -07:00
2023-08-09 14:43:35 +02:00
2023-06-24 15:50:13 -07:00
2023-08-10 14:10:53 -07:00
2023-08-03 14:34:37 -07:00
2023-04-14 11:09:27 +01:00
2023-07-19 10:07:27 -07:00
2022-09-20 14:23:56 -07:00
2023-04-19 18:48:48 -07:00
2023-08-09 15:32:43 -07:00