patch-2.2.15 linux/net/core/dev_mcast.c
Next file: linux/net/core/filter.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Fri Apr 21 12:47:11 2000
- Orig file:
v2.2.14/net/core/dev_mcast.c
- Orig date:
Sun Mar 21 15:22:00 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/net/core/dev_mcast.c linux/net/core/dev_mcast.c
@@ -156,8 +156,10 @@
}
}
- if ((dmi=dmi1)==NULL)
+ if ((dmi=dmi1)==NULL) {
+ end_bh_atomic();
return -ENOMEM;
+ }
memcpy(dmi->dmi_addr, addr, alen);
dmi->dmi_addrlen=alen;
dmi->next=dev->mc_list;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)