Package: openvswitch / 2.6.2~pre+git20161223-3

Metadata

Package Version Patches format
openvswitch 2.6.2~pre+git20161223-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 rconn Avoid abort for ill behaved remote.patch | (download)

lib/rconn.c | 16 10 + 6 - 0 !
1 file changed, 10 insertions(+), 6 deletions(-)

 [patch 1/3] rconn: avoid abort for ill-behaved remote.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

If an rconn peer fails to send a hello message, the version number doesn't
get set.  Later, if the peer delays long enough, the rconn attempts to send
an echo request but assert-fails instead because it doesn't know what
version to use.  This fixes the problem.

To reproduce this problem:

    make sandbox
    ovs-vsctl add-br br0
    ovs-vsctl set-controller br0 ptcp:12345
    nc 127.0.0.1 12345

and wait 10 seconds for ovs-vswitchd to die.  (Then exit the sandbox.)

Reported-by: 张东亚 <fortitude.zhang@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
0002 tests Fix race in ovn vtep 3 HVs 1 VIFs HV 1 GW 1 LS.patch | (download)

tests/ovn.at | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 [patch 2/3] tests: fix race in "ovn -- vtep: 3 hvs, 1 vifs/hv, 1 gw,
 1 LS".

The 1-second sleep to wait for the bind to occur is not long enough on
slow mips machines.  This fixes the problem.

Reported-at: https://buildd.debian.org/status/fetch.php?pkg=openvswitch&arch=mipsel&ver=2.6.2%7Epre%2Bgit20161223-1&stamp=1482523419&file=log
Signed-off-by: Ben Pfaff <blp@ovn.org>