patch-2.3.15 linux/drivers/net/shaper.c

Next file: linux/drivers/net/sis900.c
Previous file: linux/drivers/net/sb1000.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/net/shaper.c linux/drivers/net/shaper.c
@@ -561,7 +561,7 @@
 	{
 		case SHAPER_SET_DEV:
 		{
-			struct net_device *them=dev_get(ss->ss_name);
+			struct net_device *them=__dev_get_by_name(ss->ss_name);
 			if(them==NULL)
 				return -ENODEV;
 			if(sh->dev)

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