patch-2.4.25 linux-2.4.25/net/core/ethtool.c

Next file: linux-2.4.25/net/core/neighbour.c
Previous file: linux-2.4.25/net/core/dev.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/net/core/ethtool.c linux-2.4.25/net/core/ethtool.c
@@ -358,7 +358,7 @@
 {
 	struct ethtool_ringparam ringparam;
 
-	if (!dev->ethtool_ops->get_ringparam)
+	if (!dev->ethtool_ops->set_ringparam)
 		return -EOPNOTSUPP;
 
 	if (copy_from_user(&ringparam, useraddr, sizeof(ringparam)))

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