aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorTony Lu <[email protected]>2021-12-01 14:42:16 +0800
committerDavid S. Miller <[email protected]>2021-12-02 12:14:36 +0000
commit00e158fb91dfaff3f94746f260d11f1a4853506e (patch)
tree48c63395f75af2a46c3880ea0dd977d2719825fb /tools/perf/scripts/python/syscall-counts-by-pid.py
parent5b08560181b513984e73372b2766eeac7aa39d1b (diff)
net/smc: Keep smc_close_final rc during active close
When smc_close_final() returns error, the return code overwrites by kernel_sock_shutdown() in smc_close_active(). The return code of smc_close_final() is more important than kernel_sock_shutdown(), and it will pass to userspace directly. Fix it by keeping both return codes, if smc_close_final() raises an error, return it or kernel_sock_shutdown()'s. Link: https://lore.kernel.org/linux-s390/[email protected]/ Fixes: 606a63c9783a ("net/smc: Ensure the active closing peer first closes clcsock") Suggested-by: Karsten Graul <[email protected]> Signed-off-by: Tony Lu <[email protected]> Reviewed-by: Wen Gu <[email protected]> Acked-by: Karsten Graul <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions