netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 net 0/1] net/smc: listen socket closing
@ 2018-03-13  9:41 Ursula Braun
  2018-03-13  9:41 ` [PATCH V2 net 1/1] net/smc: simplify wait when closing listen socket Ursula Braun
  0 siblings, 1 reply; 3+ messages in thread
From: Ursula Braun @ 2018-03-13  9:41 UTC (permalink / raw)
  To: davem; +Cc: netdev, linux-s390, schwidefsky, heiko.carstens, raspl, ubraun

Hi Dave,

last week you asked for a better solution using generic infrastructure
to fix the closing of a listening SMC socket.
This made me realize that flush_work() is an appropriate way to make
sure the smc_tcp_listen_worker has finished processing (incl. the
release of the internal clcsock.)

Thanks, Ursula

Ursula Braun (1):
  net/smc: simplify wait when closing listen socket

 net/smc/af_smc.c    |  4 ----
 net/smc/smc_close.c | 25 +++----------------------
 2 files changed, 3 insertions(+), 26 deletions(-)

-- 
2.13.5

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-13 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-13  9:41 [PATCH V2 net 0/1] net/smc: listen socket closing Ursula Braun
2018-03-13  9:41 ` [PATCH V2 net 1/1] net/smc: simplify wait when closing listen socket Ursula Braun
2018-03-13 15:10   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).