[s390] net/smc: Clean up local struct sock variables
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2044294
Upstream Status: https://github.com/torvalds/linux.git
Tested: by IBM
Build-info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=45951016
Conflicts: None
commit 45c3ff7a9ac195135536057021c1d3ac664f3f62
Author: Tony Lu <tonylu@linux.alibaba.com>
Date: Tue Nov 23 16:25:16 2021 +0800
net/smc: Clean up local struct sock variables
There remains some variables to replace with local struct sock. So clean
them up all.
Fixes: 3163c5071f
("net/smc: use local struct sock variables consistently")
Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Reviewed-by: Wen Gu <guwen@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Tobias Huschle <thuschle@redhat.com>
This commit is contained in:
parent
65290faf02
commit
c6382874e9
|
@ -354,9 +354,9 @@ static void smc_close_passive_work(struct work_struct *work)
|
|||
if (rxflags->peer_conn_abort) {
|
||||
/* peer has not received all data */
|
||||
smc_close_passive_abort_received(smc);
|
||||
release_sock(&smc->sk);
|
||||
release_sock(sk);
|
||||
cancel_delayed_work_sync(&conn->tx_work);
|
||||
lock_sock(&smc->sk);
|
||||
lock_sock(sk);
|
||||
goto wakeup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue