diff options
author | 2023-01-24 10:01:04 +0800 | |
---|---|---|
committer | 2023-01-25 13:07:37 +0000 | |
commit | 5f41ae6fca9d40ab3cb9b0507931ef7a9b3ea50b (patch) | |
tree | d777040a8d5f80fe385b12bcd360032a52dc6b0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: mctp: add an explicit reference from a mctp_sk_key to sock (diff) | |
download | wireguard-linux-5f41ae6fca9d40ab3cb9b0507931ef7a9b3ea50b.tar.xz wireguard-linux-5f41ae6fca9d40ab3cb9b0507931ef7a9b3ea50b.zip |
net: mctp: move expiry timer delete to unhash
Currently, we delete the key expiry timer (in sk->close) before
unhashing the sk. This means that another thread may find the sk through
its presence on the key list, and re-queue the timer.
This change moves the timer deletion to the unhash, after we have made
the key no longer observable, so the timer cannot be re-queued.
Fixes: 7b14e15ae6f4 ("mctp: Implement a timeout for tags")
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions