diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-03-28 19:47:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-01 02:53:05 +0300 |
commit | 9e3267cf02c240065fddfbe1a58cdb99d0b00531 (patch) | |
tree | 809b8cdcf17aa9d4a1a8d6f913a82cde075098a8 /lib/string_helpers.c | |
parent | 0a541eaff5d6e5a8b40360476ac20defdce5c4b1 (diff) | |
download | linux-9e3267cf02c240065fddfbe1a58cdb99d0b00531.tar.xz |
eth: gve: add missing netdev locks on reset and shutdown paths
All the misc entry points end up calling into either gve_open()
or gve_close(), they take rtnl_lock today but since the recent
instance locking changes should also take the instance lock.
Found by code inspection and untested.
Fixes: cae03e5bdd9e ("net: hold netdev instance lock during queue operations")
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Harshitha Ramamurthy <hramamurthy@google.com>
Link: https://patch.msgid.link/20250328164742.1268069-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions