]> git.ipfire.org Git - thirdparty/linux.git/commit
ethtool: rss: make sure dump takes the rss lock
authorJakub Kicinski <kuba@kernel.org>
Tue, 8 Jul 2025 22:06:36 +0000 (15:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 11 Jul 2025 00:57:49 +0000 (17:57 -0700)
commit400244eaa2c99da01a48f6323045f84411afce83
tree278ec1b0c50e4fc0d23b155558ab3013ac79df52
parent809f683324df708a0f048d484f74d18a6398a30e
ethtool: rss: make sure dump takes the rss lock

After commit 040cef30b5e6 ("net: ethtool: move get_rxfh callback
under the rss_lock") we're expected to take rss_lock around get.
Switch dump to using the new prep helper and move the locking into it.

Link: https://patch.msgid.link/20250708220640.2738464-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/rss.c