patch-2.4.22 linux-2.4.22/drivers/net/sungem.c
Next file: linux-2.4.22/drivers/net/sunhme.c
Previous file: linux-2.4.22/drivers/net/sundance.c
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
2003-08-25 04:44:42.000000000 -0700
-  Orig file: 
linux-2.4.21/drivers/net/sungem.c
-  Orig date: 
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.21/drivers/net/sungem.c linux-2.4.22/drivers/net/sungem.c
@@ -2616,9 +2616,6 @@
 		return 0;
 
 	case ETHTOOL_SSET:
-		if (!capable(CAP_NET_ADMIN))
-			return -EPERM;
-
 		/* Verify the settings we care about. */
 		if (ecmd.autoneg != AUTONEG_ENABLE &&
 		    ecmd.autoneg != AUTONEG_DISABLE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)