aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/Context.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-06-22 21:20:39 -0700
committerJakub Kicinski <[email protected]>2022-06-24 16:28:08 -0700
commit3b9bc84d311104906d2b4995a9a02d7b7ddab2db (patch)
tree9f8fad5159f00663d624c89a19f827cdc26bc0f4 /tools/perf/scripts/python/Perf-Trace-Util/Context.c
parent6f0012e35160cd08a53e46e3b3bbf724b92dfe68 (diff)
net: tun: unlink NAPI from device on destruction
Syzbot found a race between tun file and device destruction. NAPIs live in struct tun_file which can get destroyed before the netdev so we have to del them explicitly. The current code is missing deleting the NAPI if the queue was detached first. Fixes: 943170998b20 ("tun: enable NAPI for TUN/TAP driver") Reported-by: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions