diff options
author | 2025-03-25 10:54:27 -0700 | |
---|---|---|
committer | 2025-03-27 10:18:48 -0700 | |
commit | 2eb6c6a34cb1c22b09b219390cdff0f02cd90258 (patch) | |
tree | 91b7845d708b07b594d3c8e41653793ceb331113 /MAINTAINERS | |
parent | rndis_host: Flag RNDIS modems as WWAN devices (diff) | |
download | wireguard-linux-2eb6c6a34cb1c22b09b219390cdff0f02cd90258.tar.xz wireguard-linux-2eb6c6a34cb1c22b09b219390cdff0f02cd90258.zip |
net: move replay logic to tc_modify_qdisc
Eric reports that by the time we call netdev_lock_ops after
rtnl_unlock/rtnl_lock, the dev might point to an invalid device.
As suggested by Jakub in [0], move rtnl lock/unlock and request_module
outside of qdisc_create. This removes extra complexity with relocking
the netdev.
0: https://lore.kernel.org/netdev/20250325032803.1542c15e@kernel.org/
Fixes: a0527ee2df3f ("net: hold netdev instance lock during qdisc ndo_setup_tc")
Reported-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/netdev/20250305163732.2766420-1-sdf@fomichev.me/T/#me8dfd778ea4c4463acab55644e3f9836bc608771
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250325175427.3818808-1-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions