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
- Lines: 10
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/ioc3-eth.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
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)