]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix races between socket connection and destroy code
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 17 Sep 2015 14:42:27 +0000 (10:42 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 17 Sep 2015 19:48:23 +0000 (15:48 -0400)
commit14532e998446e6b84b27bd4c9fec17cbc91b7315
treee64e3c88c8ff27ec1ebda067b088ae4dbbca59d2
parent3a7a4ada46f4ba540e7af119917d129ccdaf3f2b
SUNRPC: Fix races between socket connection and destroy code

When we're destroying the socket transport, we need to ensure that
we cancel any existing delayed connection attempts, and order them
w.r.t. the call to xs_close().

Reported-by:"Suzuki K. Poulose" <suzuki.poulose@arm.com>
Acked-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c