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)
commit79234c3db6842a3de03817211d891e0c2878f756
tree6ca9184d5cc5a990e7d6b756fbced46c868861dc
parent3ec0c97959abff33a42db9081c22132bcff5b4f2
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