patch-2.4.22 linux-2.4.22/drivers/net/ioc3-eth.c

Next file: linux-2.4.22/drivers/net/irda/irda-usb.c
Previous file: linux-2.4.22/drivers/net/ibm_emac/ibm_ocp_zmii.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/ioc3-eth.c linux-2.4.22/drivers/net/ioc3-eth.c
@@ -1841,9 +1841,6 @@
 				return -EFAULT;
 			return 0;
 		} else if (ecmd.cmd == 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)