aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2017-01-09 17:15:18 -0500
committerMoyster <oysterized@gmail.com>2017-06-17 15:50:17 +0200
commit025c16196e71db536e3ec4b3b30c07c3990e1fbf (patch)
tree7827097e82d209581f2a39c95f8e54479134f297 /drivers
parent94fcfc610f18a4a34fa9045f72794256eab4362e (diff)
svcrpc: don't leak contexts on PROC_DESTROY
commit 78794d1890708cf94e3961261e52dcec2cc34722 upstream. 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. 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> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions