From: J. Bruce Fields Date: Wed, 29 Aug 2012 22:21:58 +0000 (-0700) Subject: nfsd4: fix nfs4 stateid leak X-Git-Tag: v3.2.33~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f42ce0ca9eaf8a71f95dd0909c3ade7ab9cd824d;p=pandora-kernel.git nfsd4: fix nfs4 stateid leak commit cf9182e90b2af04245ac4fae497fe73fc71285b4 upstream. Processes that open and close multiple files may end up setting this oo_last_closed_stid without freeing what was previously pointed to. This can result in a major leak, visible for example by watching the nfsd4_stateids line of /proc/slabinfo. Reported-by: Cyril B. Tested-by: Cyril B. Signed-off-by: J. Bruce Fields Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed