[PATCH] Fix ETIME handling for Solaris event ports
Nathan Huff
nhuff at acm.org
Tue Feb 2 17:52:55 UTC 2016
It is quite possible to get a return of -1 and a errno of ETIME from
port_getn and also get an event returned. The attached patch checks for
the number of events returned and if it isn't 0 it falls through to the
event handling code. If you don't do this Samba loses file descriptor
associations since the kernel has dissociated the fd from the event port
and Samba doesn't process the event and reassociate it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-event_port.patch
Type: text/x-patch
Size: 1524 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160202/eeabc8d4/0001-event_port.bin>
More information about the samba-technical
mailing list