ethtool: Don't flush n-tuple list from ethtool_reset()
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 17 Feb 2010 09:26:54 +0000 (09:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2010 21:38:10 +0000 (13:38 -0800)
commit7af3351f71f4b3b5dbccb66cdc9b097052760a7f
treec9fa0fa66c7823ed39d3ddc652bfee306f157497
parenta07da6df730b1fef933f66c03b0e51d5e7ad5b3e
ethtool: Don't flush n-tuple list from ethtool_reset()

The n-tuple list should be flushed if and only if the ETH_RESET_FILTER
flag is set and the driver is able to reset filtering/flow direction
hardware without also resetting a component whose flag is not set.
This test is best left to the driver.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c