]> 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)
commit15cf12a13b852a8b9e98a9613313694be7c7c503
tree6ca9184d5cc5a990e7d6b756fbced46c868861dc
parente3b3f0d5f2f7b3fd0ba0951390eb4aa2e6cf7f4a
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