> On Apr 14, 2017, at 14:10, Maxim Sobolev <sobo...@sippysoft.com> wrote: > > Peter, Ngie, > > Looks like out of that refactoring came a logical bug that is present in the > head, which causes syslod to first to shutdown the socket for reading and > then try to select/recv on it (which is somewhat stupid). And that issue has > been masked by shutdown() on datagram socket becoming effectively a NOP in 11 > & head 20 months ago. It only affects head though, 11-stable still has the > old code which does not include that half-closed socket into the select list. > Attached patch is expected to fix head, Peter, it would be nice if you can > give it a try (restoring latest changes into uipc_sockets.c) and let me know > if it helps. > > Thanks!
CCing hrs@ for input as he did the refactoring. Thanks! -Ngie PS LGTM with the change. Will wait for feedback from wemm@.
signature.asc
Description: Message signed with OpenPGP using GPGMail