diff options
author | David S. Miller <davem@davemloft.net> | 2010-02-26 08:12:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 08:12:02 -0500 |
commit | 738b0343e73604750feb107e063c28b3ca36cb84 (patch) | |
tree | d288246dd868c20a1c80eaec0c8f20c5a28a2cbc /net | |
parent | 14f3ad6f4a12495b32b0dd743bc7179f36658208 (diff) |
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')
-rw-r--r-- | net/core/ethtool.c | 3 |
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 | |||
224 | rc = ops->get_sset_count(dev, ETH_SS_PRIV_FLAGS); | 224 | rc = ops->get_sset_count(dev, ETH_SS_PRIV_FLAGS); |
225 | if (rc >= 0) | 225 | if (rc >= 0) |
226 | info.n_priv_flags = rc; | 226 | info.n_priv_flags = rc; |
227 | rc = ops->get_sset_count(dev, ETH_SS_NTUPLE_FILTERS); | ||
228 | if (rc >= 0) | ||
229 | info.n_ntuples = rc; | ||
230 | } | 227 | } |
231 | if (ops->get_regs_len) | 228 | if (ops->get_regs_len) |
232 | info.regdump_len = ops->get_regs_len(dev); | 229 | info.regdump_len = ops->get_regs_len(dev); |