From: Ayaz Abdulla Date: Sat, 7 Feb 2009 08:24:39 +0000 (-0800) Subject: forcedeth: ethtool tx csum fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c1086cda7d46885d672d282af04d1273b001442f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 47962ed4b04..cb41897f286 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; }