diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-06-22 21:21:05 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-27 21:48:01 -0700 |
commit | a8fc8cb5692aebb9c6f7afd4265366d25dcd1d01 (patch) | |
tree | bc8d41e3129bde5e8b32ece7541095b7b566db47 /drivers/i2c | |
parent | tipc: move bc link creation back to tipc_node_create (diff) | |
download | wireguard-linux-a8fc8cb5692aebb9c6f7afd4265366d25dcd1d01.tar.xz wireguard-linux-a8fc8cb5692aebb9c6f7afd4265366d25dcd1d01.zip |
net: tun: stop NAPI when detaching queues
While looking at a syzbot report I noticed the NAPI only gets
disabled before it's deleted. I think that user can detach
the queue before destroying the device and the NAPI will never
be stopped.
Fixes: 943170998b20 ("tun: enable NAPI for TUN/TAP driver")
Acked-by: Petar Penkov <ppenkov@aviatrix.com>
Link: https://lore.kernel.org/r/20220623042105.2274812-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions