s3: Fix an infinite loop

Stefan (metze) Metzmacher metze at samba.org
Mon Jan 24 01:14:23 MST 2011


Hi Volker,

I think this change is wrong because, selret is a pointer and we already
have this check (directly above):

            if (*selrtn <= 0) {
                    /*
                     * No fd ready
                     */
                    return false;
            }

I've done some more changes to implement the fd fairness
in lib/events.c instead of smbd/process.c.

Please have a look at:
http://gitweb.samba.org/?p=metze/samba/wip.git;a=shortlog;h=refs/heads/master3-tevent2

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-cvs/attachments/20110124/db88ce57/attachment.pgp>


More information about the samba-cvs mailing list