Commit 9e3267c
committed
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: cae03e5 ("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>1 parent 0a541ea commit 9e3267c
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
| 2080 | + | |
2080 | 2081 | | |
| 2082 | + | |
2081 | 2083 | | |
2082 | 2084 | | |
2083 | 2085 | | |
| |||
2714 | 2716 | | |
2715 | 2717 | | |
2716 | 2718 | | |
| 2719 | + | |
2717 | 2720 | | |
2718 | 2721 | | |
2719 | 2722 | | |
2720 | 2723 | | |
2721 | 2724 | | |
2722 | 2725 | | |
2723 | 2726 | | |
| 2727 | + | |
2724 | 2728 | | |
2725 | 2729 | | |
2726 | 2730 | | |
| |||
0 commit comments