Kuniyuki Iwashima
c4da4661d9
af_unix: Remove U_LOCK_DIAG.
...
sk_diag_dump_icons() acquires embryo's lock by unix_state_lock_nested()
to fetch its peer.
The embryo's ->peer is set to NULL only when its parent listener is
close()d. Then, unix_release_sock() is called for each embryo after
unlinking skb by skb_dequeue().
In sk_diag_dump_icons(), we hold the parent's recvq lock, so we need
not acquire unix_state_lock_nested(), and peer is always non-NULL.
Let's remove unnecessary unix_state_lock_nested() and non-NULL test
for peer.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com >
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
2024-06-25 11:10:18 +02:00
..
2024-02-09 14:12:01 -08:00
2024-05-29 09:25:15 -07:00
2024-05-07 16:19:14 -07:00
2024-05-09 10:01:01 -07:00
2024-06-14 19:08:50 -07:00
2024-06-01 15:49:42 -07:00
2024-05-22 20:14:47 -04:00
2024-06-10 09:48:30 -04:00
2024-06-24 16:41:24 -07:00
2024-06-24 16:41:23 -07:00
2024-06-05 10:18:06 +01:00
2024-06-20 11:52:56 +02:00
2024-03-06 12:43:01 +01:00
2024-06-24 16:41:24 -07:00
2024-06-10 11:54:18 +01:00
2024-06-05 10:24:57 +01:00
2024-01-11 10:07:29 -08:00
2024-06-11 19:24:11 -07:00
2024-05-25 10:48:57 -07:00
2024-06-06 12:06:56 -07:00
2024-04-16 17:14:55 -07:00
2024-06-19 17:32:57 -07:00
2024-05-28 07:27:29 -07:00
2023-12-15 10:50:18 +00:00
2024-06-24 16:41:22 -07:00
2024-06-24 16:41:23 -07:00
2024-05-21 12:09:36 -07:00
2024-03-11 09:53:22 +00:00
2024-02-09 14:12:01 -08:00
2024-06-21 11:33:34 +01:00
2024-05-13 18:19:09 -06:00
2024-06-20 13:49:59 -07:00
2024-03-06 21:01:26 +01:00
2024-02-29 14:24:56 -08:00
2024-05-03 13:29:41 +01:00
2024-06-13 13:13:46 -07:00
2024-06-01 16:21:44 -07:00
2024-06-20 13:49:59 -07:00
2024-05-13 14:58:12 -07:00
2024-06-10 13:15:40 +01:00
2024-06-17 13:06:23 +01:00
2024-05-23 12:49:37 -07:00
2024-04-26 12:20:01 +02:00
2024-06-04 16:06:37 +02:00
2024-06-19 12:44:22 +01:00
2024-05-13 18:19:09 -06:00
2024-04-01 10:49:28 +01:00
2024-06-14 13:17:21 +02:00
2024-06-19 10:47:40 +01:00
2024-03-25 15:40:22 +01:00
2024-05-13 18:19:09 -06:00
2024-05-09 10:01:01 -07:00
2024-06-20 13:49:59 -07:00
2024-05-13 18:19:09 -06:00
2024-06-17 13:14:09 +01:00
2024-06-13 11:07:32 -07:00
2024-05-08 12:19:12 +01:00
2024-06-18 15:08:57 +02:00
2024-06-04 13:23:30 +02:00
2024-06-25 11:10:18 +02:00
2024-05-23 12:04:36 -07:00
2024-06-20 13:49:59 -07:00
2024-05-13 18:19:09 -06:00
2024-06-24 16:41:24 -07:00
2024-05-29 17:34:49 -07:00
2023-12-12 14:24:14 +01:00
2024-06-06 13:18:48 +02:00
2024-01-31 16:41:16 -08:00
2024-05-13 18:19:19 -06:00
2024-04-24 09:43:54 +02:00