[ovs-dev] [PATCH] vswitchd: Incoming LACP packets should un-default links.

Ethan Jackson ethan at nicira.com
Mon Feb 7 22:59:06 UTC 2011


---
Sorry for all the spam.  This was a fairly silly mistake that should have been
in the last patch.  My bad . . .
---
 vswitchd/bridge.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index b369ced..9c614fb 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -3130,7 +3130,7 @@ lacp_process_packet(const struct ofpbuf *packet, struct iface *iface)
     }
 
     iface->lacp_status |= LACP_CURRENT;
-    iface->lacp_status &= ~LACP_EXPIRED;
+    iface->lacp_status &= ~(LACP_EXPIRED | LACP_DEFAULTED);
     iface->lacp_rx = time_msec() + LACP_SLOW_TIME_RX;
 
     iface->lacp_actor.state = iface_get_lacp_state(iface);
-- 
1.7.4





More information about the dev mailing list