Thanks a lot.

Maybe this patch is to miimon and notifier. Maybe it is not appropriate to arp 
monitor.
So the following patch will avoid arp monitor.

Thanks a lot.

Zhu Yanjun

+       /* Because of link flap from the slave interface, it is possilbe that
+        * the notifiler is NETDEV_UP while the actual link state is down. If
+        * so, it is not necessary to contiune.
+        */
+       if (!bond->params.arp_interval) {
+               switch (event) {
+               case NETDEV_UP:
+                       if (!link_state)
+                               return 0;
+                       break;
+
+               case NETDEV_DOWN:
+                       if (link_state)
+                               return 0;
+                       break;
+               }
+       }


On 01/26/2016 02:00 PM, Jay Vosburgh wrote:
+       /* Because of link flap from the slave interface, it is possilbe that
+        * the notifiler is NETDEV_UP while the actual link state is down. If
+        * so, it is not necessary to contiune.
+        */
+       switch (event) {
+       case NETDEV_UP:
+               if (!link_state)
+                       return 0;
+               break;
+
+       case NETDEV_DOWN:
+               if (link_state)
+                       return 0;
+               break;
+       }
+

Reply via email to