lacp: Notify LACP module when carrier changes.
authorEthan Jackson <ethan@nicira.com>
Fri, 2 Mar 2012 20:24:55 +0000 (12:24 -0800)
committerEthan Jackson <ethan@nicira.com>
Wed, 7 Mar 2012 22:56:53 +0000 (14:56 -0800)
commit3e5b3fdbf52cee41142ed8e2bf5cab9f49146d97
tree49c53afe08f06696b085990c396cb495f6e5efeb
parentfd0aa9ead169c92a011a515c37d6cb4166da2747
lacp: Notify LACP module when carrier changes.

Without this patch, when a slave's carrier goes down, the LACP
module (as evidenced by ovs-appctl lacp/show) would consider the
slave current until it hadn't received LACP PDUs for the requisite
amount of time.  It should instead, immediately mark the slave
expired.  This shouldn't actually affect the behavior of LACP bonds
because the bond module won't choose to send traffic out a slave
whose carrier is down.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
lib/lacp.c
ofproto/ofproto-dpif.c