diff options
author | Siddh Raman Pant <siddh.raman.pant@oracle.com> | 2025-02-15 12:40:51 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-19 05:03:12 +0300 |
commit | 438989137acd6c620e9990c24dead5ffdd8e77c1 (patch) | |
tree | a19fa3b2b42b017a52d241616af35cf07ca6db9e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d5b595d3aec21576d6a7dad0bc008b29b1ad5d8e (diff) | |
download | linux-438989137acd6c620e9990c24dead5ffdd8e77c1.tar.xz |
netlink: Unset cb_running when terminating dump on release
When we terminated the dump, the callback isn't running, so cb_running
should be set to false to be logically consistent.
cb_running signifies whether a dump is ongoing. It is set to true in
cb->start(), and is checked in netlink_dump() to be true initially.
After the dump, it is set to false in the same function.
This is just a cleanup, no path should access this field on a closed
socket.
Signed-off-by: Siddh Raman Pant <siddh.raman.pant@oracle.com>
Link: https://patch.msgid.link/aff028e3eb2b768b9895fa6349fa1981ae22f098.camel@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions