aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorUrsula Braun <[email protected]>2020-09-17 20:46:02 +0000
committerDavid S. Miller <[email protected]>2020-09-18 01:03:56 +0000
commitac679364b98edb4ba46a482c7ab52e2ccb82b8de (patch)
tree7fd9fa611ca18c7bddb2ef56af8aae7c1a23c803 /net/tipc/node.c
parentionic: add DIMLIB to Kconfig (diff)
downloadkernel-ac679364b98edb4ba46a482c7ab52e2ccb82b8de.tar.gz
kernel-ac679364b98edb4ba46a482c7ab52e2ccb82b8de.zip
net/smc: fix double kfree in smc_listen_work()
If smc_listen_rmda_finish() returns with an error, the storage addressed by 'buf' is freed a second time. Consolidate freeing under a common label and jump to that label. Fixes: 6bb14e48ee8d ("net/smc: dynamic allocation of CLC proposal buffer") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Ursula Braun <[email protected]> Signed-off-by: Karsten Graul <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions