diff options
author | Eric Dumazet <edumazet@google.com> | 2025-06-27 16:32:42 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-30 18:58:20 -0700 |
commit | aed4969f2bdfda5a2670684a02f483d261152816 (patch) | |
tree | 9ed2c8d9b58d809c434c37b9429026305acb8ab4 /net/lapb/lapb_in.c | |
parent | 7878e21e40d47f3e55968eec8b8c690d6b8f7813 (diff) |
net: net->nsid_lock does not need BH safety
At the time of commit bc51dddf98c9 ("netns: avoid disabling irq
for netns id") peernet2id() was not yet using RCU.
Commit 2dce224f469f ("netns: protect netns
ID lookups with RCU") changed peernet2id() to no longer
acquire net->nsid_lock (potentially from BH context).
We do not need to block soft interrupts when acquiring
net->nsid_lock anymore.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Guillaume Nault <gnault@redhat.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250627163242.230866-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions