On Tue, 15 Feb 2005, Jeff Moyer wrote:
==> Regarding Re: [autofs] [ANNOUNCE] autofs 4.1.4 beta2 release; "Steinar H.
Gunderson" <[EMAIL PROTECTED]> adds:
sgunderson> On Tue, Feb 15, 2005 at 08:46:24AM -0500, Jeff Moyer wrote:
Could you post this patch, please? I'm almost certain this fix is in the
tree.
sgunderson> http://home.samfundet.no/~sesse/000_autofs_4.1.3_sock-leak-fix
We solved this problem a different way. If we pass RPC_ANYSOCK to the
portmapper, it will use a reserved port by default for communications. To
keep it from doing that, we create the socket ourselves. We then do this:
clnt_control(client, CLSET_FD_CLOSE, NULL);
Which tells the rpc layer to close the socket for us when we destroy the
client. As such, there is no socket leak.
Yep. The patch was a bit out of date.
Thanks Jeff.
Ian
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs