]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: move wake up of close waiter
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 12 Feb 2019 15:29:51 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2019 16:59:44 +0000 (11:59 -0500)
commit9e3fcd5faf1243524b1756ab430ffeff0aac97a8
tree8b56ad1be5ab1fff08aad77163c898a34aee86d7
parent522b7a1a562f1afea261083b362493649e8acac1
net/smc: move wake up of close waiter

Move the call to smc_close_wake_tx_prepared() (which wakes up a possibly
waiting close processing that might wait for 'all data sent') to
smc_tx_sndbuf_nonempty() (which is the main function to send data).

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_cdc.c
net/smc/smc_tx.c