- net-next plumbings
summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh')
i/linux/net-next.git/commit/tools/perf/Documentation/perf-annotate.txt?id=dcd208697707b12adeaa45643bab239c5e90ef9b'>dcd208697707b12adeaa45643bab239c5e90ef9b (diff)
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/Documentation/perf-annotate.txt')