diff options
author | J. Bruce Fields <bfields@redhat.com> | 2012-08-29 15:21:58 -0700 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-09-10 10:55:14 -0400 |
commit | cf9182e90b2af04245ac4fae497fe73fc71285b4 (patch) | |
tree | a4659b22d9d2b35a168cbcf7f7c057412129d0c1 /fs/nfsd/nfsctl.c | |
parent | 8a4c6e19cfed5e650045312affed7e6056383278 (diff) | |
download | linux-cf9182e90b2af04245ac4fae497fe73fc71285b4.tar.bz2 |
nfsd4: fix nfs4 stateid leak
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. <cbay@excellency.fr>
Tested-by: Cyril B. <cbay@excellency.fr>
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsctl.c')
0 files changed, 0 insertions, 0 deletions