aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-02-20 18:03:47 +0000
committerJens Axboe <axboe@kernel.dk>2021-02-20 19:02:45 -0700
commite6cb007c45dedada0a847eaa486c49509d63b1e8 (patch)
tree6fbf38282440b4e64cd6efdd94e9f55b1edc34a6 /tools/perf/scripts/python/netdev-times.py
parent99a10081647168022745859bb2f1c28b2f70dc83 (diff)
io_uring: zero ref_node after killing it
After a rsrc/files reference node's refs are killed, it must never be used. And that's how it works, it either assigns a new node or kills the whole data table. Let's explicitly NULL it, that shouldn't be necessary, but if something would go wrong I'd rather catch a NULL dereference to using a dangling pointer. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions