]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 17:26:11 +0000 (19:26 +0200)
commit85d1ba73e42e8317b21ba71ab277fb762a45e6b0
tree20d593d372ca00793882b417b5c6eb5a992e7acb
parent77bb3c931d577185760c59428a87e8966a126b0b
SUNRPC: Lock the transport layer on shutdown

commit 79234c3db6842a3de03817211d891e0c2878f756 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sunrpc/xprt.c