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. <email address hidden>
Tested-by: Cyril B. <email address hidden>
Signed-off-by: J. Bruce Fields <email address hidden>
Signed-off-by: Ben Hutchings <email address hidden>
Looks like this was fixed in 3.2.33
commit f42ce0ca9eaf8a7 1f95dd0909c3ade 7ab9cd824d
Author: J. Bruce Fields <email address hidden>
Date: Wed Aug 29 15:21:58 2012 -0700
nfsd4: fix nfs4 stateid leak
commit cf9182e90b2af04 245ac4fae497fe7 3fc71285b4 upstream.
Processes that open and close multiple files may end up setting this last_closed_ stid without freeing what was previously pointed to.
oo_
This can result in a major leak, visible for example by watching the
nfsd4_stateids line of /proc/slabinfo.
Reported-by: Cyril B. <email address hidden>
Tested-by: Cyril B. <email address hidden>
Signed-off-by: J. Bruce Fields <email address hidden>
Signed-off-by: Ben Hutchings <email address hidden>