vswitchd: Incoming LACP packets should un-default links.
authorEthan Jackson <ethan@nicira.com>
Mon, 7 Feb 2011 22:53:39 +0000 (14:53 -0800)
committerEthan Jackson <ethan@nicira.com>
Mon, 7 Feb 2011 22:57:29 +0000 (14:57 -0800)
vswitchd/bridge.c

index b369ced..9c614fb 100644 (file)
@@ -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);