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

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)