s3:winbind: Only ever handle one event after a select call
commita4df4406f12281db60fd6612c6ebf93d77af9152
authorVolker Lendecke <vl@samba.org>
Wed, 7 Oct 2009 13:53:46 +0000 (7 15:53 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 8 Oct 2009 10:27:29 +0000 (8 12:27 +0200)
tree0f4a7f051608284f337404e2a28cc434b34a7da4
parentfaf7197b3b4ac9fefeb0fca31a888c9e84bed92f
s3:winbind: Only ever handle one event after a select call

While handling an fd event, the situation with other fds can change. I've just
seen a winbind stuck in the accept() call on the privileged pipe. I can only
imagine this happen because under high load we first handled other requests and
meanwhile the client on the privileged pipe went away.
source/winbindd/winbindd.c