diff options
| author | 2017-01-09 17:15:18 -0500 | |
|---|---|---|
| committer | 2017-01-12 15:56:14 -0500 | |
| commit | 78794d1890708cf94e3961261e52dcec2cc34722 (patch) | |
| tree | ade1523bd1d3ebd2dc14e46676d496a2df16f116 /tools/perf/scripts/python/syscall-counts.py | |
| parent | nfsd: fix supported attributes for acl & labels (diff) | |
| download | wireguard-linux-78794d1890708cf94e3961261e52dcec2cc34722.tar.xz wireguard-linux-78794d1890708cf94e3961261e52dcec2cc34722.zip | |
svcrpc: don't leak contexts on PROC_DESTROY
Context expiry times are in units of seconds since boot, not unix time.
The use of get_seconds() here therefore sets the expiry time decades in
the future. This prevents timely freeing of contexts destroyed by
client RPC_GSS_PROC_DESTROY requests. We'd still free them eventually
(when the module is unloaded or the container shut down), but a lot of
contexts could pile up before then.
Cc: stable@vger.kernel.org
Fixes: c5b29f885afe "sunrpc: use seconds since boot in expiry cache"
Reported-by: Andy Adamson <andros@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
