Skip to contentSkip to conversation

forcedeth: ethtool tx csum fix

PATCH In review Ayaz Abdulla 1 participant 1 message Jan 30, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/5 forcedeth: ethtool tx csum fix

This patch fixes the ethtool tx csum "set" command. A recent patch was submitted to remove HW_CSUM and use IP_CSUM instead. Therefore, the corresponding ethtool command should also be modified.

drivers/net/forcedeth.c +1 -1
@@ -4750,7 +4750,7 @@
 	struct fe_priv *np = netdev_priv(dev);
 
 	if (np->driver_data & DEV_HAS_CHECKSUM)
-		return ethtool_op_set_tx_hw_csum(dev, data);
+		return ethtool_op_set_tx_csum(dev, data);
 	else
 		return -EOPNOTSUPP;
 }