On 31 July 2012 09:50, Ed Maste <[email protected]> wrote:
> On FreeBSD some of the test-vconn.c tests failed intermittently due
> to timing variations in a TCP localhost connection.
>
> - If we receive EAGAIN for certain functions, retry.
>
> - Allow EPIPE in addition to ECONNRESET in some cases.  A write() to a
> socket where the other side has closed returns EPIPE on FreeBSD and
> ECONNRESET on Linux.

With this change and the xargs patch the unit tests consistently pass
on FreeBSD.

Let me know if you'd rather not allow EPIPE on Linux for the
closed-socket-write cases and I'll rework it.

-Ed
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to