]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
forcedeth: ethtool tx csum fix
authorAyaz Abdulla <aabdulla@nvidia.com>
Sat, 7 Feb 2009 08:24:39 +0000 (00:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 08:24:39 +0000 (00:24 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/forcedeth.c

index 47962ed4b04c600f6e66f7a8544c7161126bf586..cb41897f286e02dbfa283562987b94f48c4faf06 100644 (file)
@@ -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;
 }