summaryrefslogtreecommitdiffstats
path: root/net/core/ethtool.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-02-26 14:12:02 +0100
committerDavid S. Miller <davem@davemloft.net>2010-02-26 14:12:02 +0100
commit738b0343e73604750feb107e063c28b3ca36cb84 (patch)
treed288246dd868c20a1c80eaec0c8f20c5a28a2cbc /net/core/ethtool.c
parentipv6: Use 1280 as min MTU for ipv6 forwarding (diff)
downloadlinux-738b0343e73604750feb107e063c28b3ca36cb84.tar.xz
linux-738b0343e73604750feb107e063c28b3ca36cb84.zip
Revert "ethtool: Add n-tuple string length to drvinfo and return it"
This reverts commit c79c5ffdce14abb4de3878c5aa8c3c6e5093c69b. As Jeff points out we can't break the user visible interface like this, we need to add this into the reserved[] thing. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/ethtool.c')
-rw-r--r--net/core/ethtool.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/ethtool.c b/net/core/ethtool.c
index 1c94f48e27b5..31b1eddc1b84 100644
--- a/net/core/ethtool.c
+++ b/net/core/ethtool.c
@@ -224,9 +224,6 @@ static noinline int ethtool_get_drvinfo(struct net_device *dev, void __user *use
rc = ops->get_sset_count(dev, ETH_SS_PRIV_FLAGS);
if (rc >= 0)
info.n_priv_flags = rc;
- rc = ops->get_sset_count(dev, ETH_SS_NTUPLE_FILTERS);
- if (rc >= 0)
- info.n_ntuples = rc;
}
if (ops->get_regs_len)
info.regdump_len = ops->get_regs_len(dev);