]> err.no Git - linux-2.6/blobdiff - net/core/ethtool.c
Merge git://git.infradead.org/hdrcleanup-2.6
[linux-2.6] / net / core / ethtool.c
index 3f269e4e94387dfe96aad11945ffb1edc10a3ec4..33ce7ed6afc651206443200ed1d705c73bf01b08 100644 (file)
@@ -589,7 +589,7 @@ static int ethtool_set_tso(struct net_device *dev, char __user *useraddr)
 
 static int ethtool_get_ufo(struct net_device *dev, char __user *useraddr)
 {
-       struct ethtool_value edata = { ETHTOOL_GTSO };
+       struct ethtool_value edata = { ETHTOOL_GUFO };
 
        if (!dev->ethtool_ops->get_ufo)
                return -EOPNOTSUPP;
@@ -598,6 +598,7 @@ static int ethtool_get_ufo(struct net_device *dev, char __user *useraddr)
                 return -EFAULT;
        return 0;
 }
+
 static int ethtool_set_ufo(struct net_device *dev, char __user *useraddr)
 {
        struct ethtool_value edata;