aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/powerpc-hcalls.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2023-01-24 10:01:05 +0800
committerDavid S. Miller <[email protected]>2023-01-25 13:07:37 +0000
commit6e54ea37e344f145665c2dc3cc534b92529e8de5 (patch)
tree182e9dc75015c995d9cf8ea89c6a75ae959a3eab /tools/perf/scripts/python/powerpc-hcalls.py
parent5f41ae6fca9d40ab3cb9b0507931ef7a9b3ea50b (diff)
net: mctp: hold key reference when looking up a general key
Currently, we have a race where we look up a sock through a "general" (ie, not directly associated with the (src,dest,tag) tuple) key, then drop the key reference while still holding the key's sock. This change expands the key reference until we've finished using the sock, and hence the sock reference too. Commit message changes from Jeremy Kerr <[email protected]>. Reported-by: Noam Rathaus <[email protected]> Fixes: 73c618456dc5 ("mctp: locking, lifetime and validity changes for sk_keys") Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: Jeremy Kerr <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions