summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_qm.h
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2020-09-17 22:46:02 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-17 18:03:56 -0700
commitac679364b98edb4ba46a482c7ab52e2ccb82b8de (patch)
tree7fd9fa611ca18c7bddb2ef56af8aae7c1a23c803 /fs/xfs/xfs_qm.h
parent86d009f1cb046d826ac0222df8b5e25967af369c (diff)
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 <dan.carpenter@oracle.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/xfs/xfs_qm.h')
0 files changed, 0 insertions, 0 deletions