ovs-brcompatd: Fix sending replies to kernel requests.
authorBen Pfaff <blp@nicira.com>
Thu, 5 Jul 2012 15:41:03 +0000 (08:41 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Jul 2012 15:41:03 +0000 (08:41 -0700)
commitff459dd649b17f2a2613799c466e979ddd64cdf0
tree8576da1342b34a356faf6833a28b3707108a90ab
parentf471bca43f311891823d930e29ad34d18e05e951
ovs-brcompatd: Fix sending replies to kernel requests.

Commit 7d7447 (netlink: Postpone choosing sequence numbers until send
time.) broke ovs-brcompatd because it prevented userspace replies to
kernel requests from using the correct sequence numbers.  This commit fixes
it.

Atzm Watanabe found the root cause and provided an alternative patch to
avoid the problem.

Reported-by: André Ruß <andre.russ@hybris.com>
Reported-by: Atzm Watanabe <atzm@stratosphere.co.jp>
Tested-by: Atzm Watanabe <atzm@stratosphere.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
AUTHORS
lib/netlink-socket.c
lib/netlink-socket.h
vswitchd/ovs-brcompatd.c