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 b369ced00e814c4bef2286e4525a333f71a95c8e..9c614fb343d39e40b8a1ef96a8e27e6fbab5f64a 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);