aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-02-22 10:50:13 +0000
committerDavid S. Miller <[email protected]>2024-02-26 11:46:12 +0000
commitb5590270068c4324dac4a2b5a4a156e02e21339f (patch)
tree6812e51f0cb993f8debdc4b48dd165850b9b4658 /scripts/generate_rust_analyzer.py
parent6647b338fc5c6741736fe51a25fc2c0bec6398b8 (diff)
netlink: hold nlk->cb_mutex longer in __netlink_dump_start()
__netlink_dump_start() releases nlk->cb_mutex right before calling netlink_dump() which grabs it again. This seems dangerous, even if KASAN did not bother yet. Add a @lock_taken parameter to netlink_dump() to let it grab the mutex if called from netlink_recvmsg() only. Signed-off-by: Eric Dumazet <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions