aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/mcdi_functions.c
diff options
context:
space:
mode:
authorD. Wythe <alibuda@linux.alibaba.com>2023-11-03 14:07:40 +0800
committerDavid S. Miller <davem@davemloft.net>2023-11-06 10:01:07 +0000
commitaa96fbd6d78d9770323b21e2c92bd38821be8852 (patch)
treeacf6792f94adb9a2396b69cffd87e34d9632060a /drivers/cdx/controller/mcdi_functions.c
parentc5bf605ba4f9d6fbbb120595ab95002f4716edcb (diff)
net/smc: put sk reference if close work was canceled
Note that we always hold a reference to sock when attempting to submit close_work. Therefore, if we have successfully canceled close_work from pending, we MUST release that reference to avoid potential leaks. Fixes: 42bfba9eaa33 ("net/smc: immediate termination for SMCD link groups") Signed-off-by: D. Wythe <alibuda@linux.alibaba.com> Reviewed-by: Dust Li <dust.li@linux.alibaba.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions