diff options
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index d51a6b1f4766..0f46c1a3171e 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -558,12 +558,8 @@ static int efx_ethtool_set_flags(struct net_device *net_dev, u32 data) | |||
558 | if (rc) | 558 | if (rc) |
559 | return rc; | 559 | return rc; |
560 | 560 | ||
561 | if (!(data & ETH_FLAG_NTUPLE)) { | 561 | if (!(data & ETH_FLAG_NTUPLE)) |
562 | efx_filter_table_clear(efx, EFX_FILTER_TABLE_RX_IP, | 562 | efx_filter_clear_rx(efx, EFX_FILTER_PRI_MANUAL); |
563 | EFX_FILTER_PRI_MANUAL); | ||
564 | efx_filter_table_clear(efx, EFX_FILTER_TABLE_RX_MAC, | ||
565 | EFX_FILTER_PRI_MANUAL); | ||
566 | } | ||
567 | 563 | ||
568 | return 0; | 564 | return 0; |
569 | } | 565 | } |