diff options
author | Karsten Graul <[email protected]> | 2019-01-30 18:51:02 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-02-01 14:45:44 -0800 |
commit | 77f838ace755d2f466536c44dac6c856f62cd901 (patch) | |
tree | 552f02d5012cfa872e0255fa8640e373d8281e24 /tools/perf/scripts/python/syscall-counts.py | |
parent | ca8dc1334a71d6081b09e18d55198a27e28fd44b (diff) |
net/smc: prevent races between smc_lgr_terminate() and smc_conn_free()
To prevent races between smc_lgr_terminate() and smc_conn_free() add an
extra check of the lgr field before accessing it, and cancel a delayed
free_work when a new smc connection is created.
This fixes the problem that free_work cleared the lgr variable but
smc_lgr_terminate() or smc_conn_free() still access it in parallel.
Signed-off-by: Karsten Graul <[email protected]>
Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions