patch-2.3.99-pre7 linux/drivers/net/ewrk3.c

Next file: linux/drivers/net/hamradio/6pack.c
Previous file: linux/drivers/net/ethertap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/net/ewrk3.c linux/drivers/net/ewrk3.c
@@ -1409,7 +1409,6 @@
 		new->next = dev->next;
 		dev->next = new;
 		dev = dev->next;	/* point to the new device */
-		dev->name = (char *) (dev + 1);
 		if (num_eth > 9999) {
 			sprintf(dev->name, "eth????");	/* New device name */
 		} else {

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