patch-2.4.23 linux-2.4.23/drivers/net/sunhme.c

Next file: linux-2.4.23/drivers/net/tg3.c
Previous file: linux-2.4.23/drivers/net/sungem.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/net/sunhme.c linux-2.4.23/drivers/net/sunhme.c
@@ -2968,7 +2968,7 @@
 	dev_addr[0] = 0x08;
 	dev_addr[1] = 0x00;
 	dev_addr[2] = 0x20;
-	get_random_bytes(dev_addr, 3);
+	get_random_bytes(&dev_addr[3], 3);
 	return;
 }
 #endif /* !(__sparc__) */

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