]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Lock the transport layer on shutdown
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 18 Sep 2015 19:53:24 +0000 (15:53 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 19 Sep 2015 20:37:43 +0000 (16:37 -0400)
commitd27efdefcbf8a73c3e364157b5b875f378179cab
tree6ca9184d5cc5a990e7d6b756fbced46c868861dc
parentab0d958a3031ff9b1f29a5c2ddbd3c3eb80aa1ed
SUNRPC: Lock the transport layer on shutdown

Avoid all races with the connect/disconnect handlers by taking the
transport lock.

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/xprt.c