commit | a4ee8d978e47e79d536226dccb48991f70091168 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Oct 23 13:51:58 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Wed Oct 24 10:46:22 2012 -0400 |
tree | 5c85033eae24348ec07dc9a0a3ddbb25141153bb | |
parent | f878b657ce8e7d3673afe48110ec208a29e38c4a [diff] |
LOCKD: fix races in nsm_client_get Commit e9406db20fecbfcab646bad157b4cfdc7cadddfb (lockd: per-net NSM client creation and destruction helpers introduced) contains a nasty race on initialisation of the per-net NSM client because it doesn't check whether or not the client is set after grabbing the nsm_create_mutex. Reported-by: Nix <nix@esperi.org.uk> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org