[PATCH] Fix ETIME handling for Solaris event ports
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...
Size: 1524 bytes
Desc: not available
More information about the samba-technical