patch-2.4.27 linux-2.4.27/net/8021q/vlan_dev.c

Next file: linux-2.4.27/net/8021q/vlanproc.c
Previous file: linux-2.4.27/net/8021q/vlan.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/net/8021q/vlan_dev.c linux-2.4.27/net/8021q/vlan_dev.c
@@ -782,7 +782,6 @@
 	struct dev_mc_list *dmi = dev->mc_list;
 
 	while (dmi) {
-		dev_mc_delete(dev, dmi->dmi_addr, dmi->dmi_addrlen, 0);
 		printk(KERN_DEBUG "%s: del %.2x:%.2x:%.2x:%.2x:%.2x:%.2x mcast address from vlan interface\n",
 		       dev->name,
 		       dmi->dmi_addr[0],
@@ -791,6 +790,7 @@
 		       dmi->dmi_addr[3],
 		       dmi->dmi_addr[4],
 		       dmi->dmi_addr[5]);
+		dev_mc_delete(dev, dmi->dmi_addr, dmi->dmi_addrlen, 0);
 		dmi = dev->mc_list;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)