summaryrefslogtreecommitdiff
path: root/net/lapb
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-06-26 13:28:48 -0700
committerJakub Kicinski <kuba@kernel.org>2025-06-30 08:41:25 -0700
commit040cef30b5e67271e3193e0206f82b206fc97095 (patch)
tree9904df6952d0f6cbfcdb511350606348aa9672ce /net/lapb
parent739d18cce105ce3c8437ad56bec3fbe62f0210bb (diff)
net: ethtool: move get_rxfh callback under the rss_lock
We already call get_rxfh under the rss_lock when we read back context state after changes. Let's be consistent and always hold the lock. The existing callers are all under rtnl_lock so this should make no difference in practice, but it makes the locking rules far less confusing IMHO. Any RSS callback and any access to the RSS XArray should hold the lock. Link: https://patch.msgid.link/20250626202848.104457-4-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions