On Aug 7, 2012, at 1:50 PM, Ben Pfaff wrote: > Until now, it seems that all vconn users have immediately started reading > messages from the connection. Today, however, I added a new user that > only wants to read packets after the OpenFlow version is negotiated, so > it never called vconn_recv() before that happened. It turns out that if > you do this, the version never gets negotiated at all. > > This commit fixes the problem by ensuring that vconn_run() will continue > version negotiation if it isn't done yet. > > This changes the error return that I get for Unix sockets in the > test-vconn "accept-then-close" test from EPIPE to ECONNRESET, so this > commit also adjusts that test to accept either error code; both of them > seem reasonable enough to me. > > Signed-off-by: Ben Pfaff <b...@nicira.com>
Looks good to me. Thanks, Kyle _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev