]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: wake up wr_reg_wait when terminating a link group
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Thu, 25 Jan 2018 10:15:35 +0000 (11:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Jan 2018 21:10:42 +0000 (16:10 -0500)
commit7e2275d7842a1a1a9425278edf5a65aac0925039
tree0b4f8d0b1e745bd79b929852c5353dc34326bd38
parent507f9e5933fe8811f450f85569a35228d74967b6
net/smc: wake up wr_reg_wait when terminating a link group

If a new connection with a new rmb is added to a link group, its
memory region is registered. If a link group is terminated, a pending
registration requires a wake up.

And consolidate setting of tx_flag peer_conn_abort in smc_lgr_terminate().

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_close.c
net/smc/smc_core.c