diff mbox

[3/5] forcedeth: ethtool tx csum fix

Message ID 498C8F1D.9070700@nvidia.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Ayaz Abdulla Feb. 6, 2009, 7:27 p.m. UTC
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.

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>

Comments

David Miller Feb. 7, 2009, 8:26 a.m. UTC | #1
From: Ayaz Abdulla <aabdulla@nvidia.com>
Date: Fri, 06 Feb 2009 14:27:25 -0500

> 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.
> 
> Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>

Applied to net-next-2.6
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- old/drivers/net/forcedeth.c	2009-02-06 14:15:38.000000000 -0500
+++ new/drivers/net/forcedeth.c	2009-02-06 14:15:55.000000000 -0500
@@ -4763,7 +4763,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;
 }