]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
rpc.statd: Fix socket binding loop.
authorHemmo Nieminen <hemmo.nieminen@iki.fi>
Wed, 16 Jan 2013 20:29:14 +0000 (15:29 -0500)
committerSteve Dickson <steved@redhat.com>
Wed, 16 Jan 2013 20:33:29 +0000 (15:33 -0500)
From: Hemmo Nieminen <hemmo.nieminen@iki.fi>

Instead of closing the sockets before requesting a new one, keep them
open until a suitable one is found. Otherwise bindresvport will return
the same port over and over again.

Signed-off-by: Steve Dickson <steved@redhat.com>

No differences found