From: Ayaz Abdulla Date: Sat, 7 Feb 2009 08:24:39 +0000 (-0800) Subject: forcedeth: ethtool tx csum fix X-Git-Tag: firefly_0821_release~15237^2~796 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c1086cda7d46885d672d282af04d1273b001442f;p=firefly-linux-kernel-4.4.55.git 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. Signed-off-by: Ayaz Abdulla Signed-off-by: David S. Miller --- diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c index 47962ed4b04c..cb41897f286e 100644 --- a/drivers/net/forcedeth.c +++ b/drivers/net/forcedeth.c @@ -4763,7 +4763,7 @@ static int nv_set_tx_csum(struct net_device *dev, u32 data) 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; }