From: Trond Myklebust Date: Tue, 23 Oct 2012 17:51:58 +0000 (-0400) Subject: LOCKD: fix races in nsm_client_get X-Git-Tag: v3.7-rc3~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ee8d978e47e79d536226dccb48991f70091168;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust Cc: stable@vger.kernel.org --- Reading git-diff-tree failed