summaryrefslogtreecommitdiffstats
path: root/support/misc/tcpwrapper.c
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2008-12-11 11:43:31 -0500
committerSteve Dickson <steved@redhat.com>2008-12-11 11:43:31 -0500
commiteb3a145789b9eedd39b56e1d76f412435abaa747 (patch)
tree37ab79a490d51c302f77ba4cf2c4cbdb6177c614 /support/misc/tcpwrapper.c
parenta4f1386224310b6797f083826fc4b6751e91f9b6 (diff)
downloadnfs-utils-eb3a145789b9eedd39b56e1d76f412435abaa747.tar.gz
nfs-utils-eb3a145789b9eedd39b56e1d76f412435abaa747.tar.xz
nfs-utils-eb3a145789b9eedd39b56e1d76f412435abaa747.zip
svcgssd: use the actual context expiration for cache
Instead of sending down an infinite expiration value for the rsi(init) and rsc(context) cache entries, use a reasonable value for the rsi cache, and the actual context expiration value for the rsc cache. Prompted by a proposal from Neil Brown as a result of a complaint of a server running out of kernel memory when under heavy load of rpcsec_gss traffic. Neil's original patch used one minute for the init cache and one hour for the context cache. Using the actual expiration time prevents unnecessary context re-negotiation. Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/misc/tcpwrapper.c')
0 files changed, 0 insertions, 0 deletions