bond: Use correct type for slave's change_seq.
authorJarno Rajahalme <jarno@ovn.org>
Fri, 4 Dec 2015 18:19:07 +0000 (10:19 -0800)
committerJarno Rajahalme <jarno@ovn.org>
Fri, 4 Dec 2015 18:19:07 +0000 (10:19 -0800)
commit6422372c103d280450eb400ed7fe955b74deeb2a
treec8d87279cf3eea969fe5fe7e8f2f44ebf2180db4
parent578b73e89b59430c990ff175146a06b47bcd3e0a
bond: Use correct type for slave's change_seq.

seq values are 64-bit, and storing them to a 32-bit variable causes
the stored value never to match actual seq value after the seq value
gets big enough.

This is a likely cause of OVS main thread using 100% CPU in a system
using bonds after some runtime.

VMware-BZ: #1564993
Reported-by: Hiram Bayless <hbayless@vmware.com>
Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ofproto/bond.c