diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-07-02 06:15:58 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-07 18:42:12 -0700 |
| commit | 6058099da5e5eb057751905e587328affb93a81a (patch) | |
| tree | 95ec53c89203c876b36a805065a66e195e936c6f /net/core/net-sysfs.h | |
| parent | d8bf56a0ca10af7936de8bbdd510c33041dacecc (diff) | |
| download | linux-next-6058099da5e5eb057751905e587328affb93a81a.tar.gz linux-next-6058099da5e5eb057751905e587328affb93a81a.zip | |
net: remove RTNL use for /proc/sys/net/core/rps_default_mask
Use a dedicated mutex instead.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250702061558.1585870-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/net-sysfs.h')
| -rw-r--r-- | net/core/net-sysfs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/net-sysfs.h b/net/core/net-sysfs.h index 8a5b04c2699a..e938f25e8e86 100644 --- a/net/core/net-sysfs.h +++ b/net/core/net-sysfs.h @@ -11,4 +11,6 @@ int netdev_queue_update_kobjects(struct net_device *net, int netdev_change_owner(struct net_device *, const struct net *net_old, const struct net *net_new); +extern struct mutex rps_default_mask_mutex; + #endif |
