patch-2.3.24 linux/net/core/dev.c
Next file: linux/net/decnet/Config.in
Previous file: linux/mm/vmscan.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Mon Oct 25 20:49:42 1999
- Orig file:
v2.3.23/linux/net/core/dev.c
- Orig date:
Fri Oct 15 15:25:14 1999
diff -u --recursive --new-file v2.3.23/linux/net/core/dev.c linux/net/core/dev.c
@@ -374,6 +374,7 @@
*err=-ENOBUFS;
return NULL;
}
+ memset(dev, 0, sizeof(struct net_device));
dev->name=(char *)(dev+1); /* Name string space */
*err=dev_alloc_name(dev,name);
if(*err<0)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)