aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorliuyacan <[email protected]>2022-05-23 04:57:07 +0000
committerDavid S. Miller <[email protected]>2022-05-23 08:58:47 +0000
commit75c1edf23b95a9c66923d9269d8e86e4dbde151f (patch)
tree7af193059b6dde734a092cd48f24ce417f4cd0fc /fs/jbd2/commit.c
parentnet: dsa: restrict SMSC_LAN9303_I2C kconfig (diff)
downloadkernel-75c1edf23b95a9c66923d9269d8e86e4dbde151f.tar.gz
kernel-75c1edf23b95a9c66923d9269d8e86e4dbde151f.zip
net/smc: postpone sk_refcnt increment in connect()
Same trigger condition as commit 86434744. When setsockopt runs in parallel to a connect(), and switch the socket into fallback mode. Then the sk_refcnt is incremented in smc_connect(), but its state stay in SMC_INIT (NOT SMC_ACTIVE). This cause the corresponding sk_refcnt decrement in __smc_release() will not be performed. Fixes: 86434744fedf ("net/smc: add fallback check to connect()") Signed-off-by: liuyacan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions