From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: DNS resolver cache does not expire Date: Mon, 27 Jun 2011 20:42:10 +0100 Message-ID: <28505.1309203730@redhat.com> References: <21187.1309178053@redhat.com> Cc: dhowells-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Grazvydas Ignotas , linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Steve French To: Pavel Shilovsky Return-path: In-Reply-To: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Pavel Shilovsky wrote: > Yes, I meant, that dns_query calls request_key -> request_key_and_link > -> construct_key_and_link -> construct_alloc_key -> key_alloc and > there expiry timeout is set to zero. I don't noticed any other places > where this value changes while request_key is being processing. If I > miss something, point me, please! request_key() upcalls to userspace. The userspace application should call keyctl_set_timeout() before calling keyctl_instantiate(). David