diff options
-rw-r--r-- | drivers/net/sfc/ethtool.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 8c5e0052c44a..348437a8117e 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -955,8 +955,9 @@ static int efx_ethtool_set_rx_ntuple(struct net_device *net_dev, | |||
955 | 955 | ||
956 | if (ntuple->fs.action == ETHTOOL_RXNTUPLE_ACTION_CLEAR) | 956 | if (ntuple->fs.action == ETHTOOL_RXNTUPLE_ACTION_CLEAR) |
957 | return efx_filter_remove_filter(efx, &filter); | 957 | return efx_filter_remove_filter(efx, &filter); |
958 | else | 958 | |
959 | return efx_filter_insert_filter(efx, &filter, true); | 959 | rc = efx_filter_insert_filter(efx, &filter, true); |
960 | return rc < 0 ? rc : 0; | ||
960 | } | 961 | } |
961 | 962 | ||
962 | static int efx_ethtool_get_rxfh_indir(struct net_device *net_dev, | 963 | static int efx_ethtool_get_rxfh_indir(struct net_device *net_dev, |