diff options
author | Eugenia Emantayev <eugenia@mellanox.com> | 2016-07-18 15:35:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-07-19 23:44:11 (GMT) |
commit | 30f56e3ced0f4966e8a84ece1acceccbbb73d365 (patch) | |
tree | 1c2c13dac7f01b2b1684ca3683984d3b0bce4248 /drivers/net/ethernet/mellanox/mlx4/en_rx.c | |
parent | c74bfbdba0e8d056e4ba579a666b5cdb8ec3cd35 (diff) | |
download | linux-30f56e3ced0f4966e8a84ece1acceccbbb73d365.tar.xz |
net/mlx4_en: Move filters cleanup to a proper location
Filters cleanup should be done once before destroying net device,
since filters list is contained in the private data.
Fixes: 1eb8c695bda9 ('net/mlx4_en: Add accelerated RFS support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_rx.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/en_rx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_rx.c b/drivers/net/ethernet/mellanox/mlx4/en_rx.c index c1b3a9c..99b5407 100644 --- a/drivers/net/ethernet/mellanox/mlx4/en_rx.c +++ b/drivers/net/ethernet/mellanox/mlx4/en_rx.c @@ -514,9 +514,6 @@ void mlx4_en_destroy_rx_ring(struct mlx4_en_priv *priv, ring->rx_info = NULL; kfree(ring); *pring = NULL; -#ifdef CONFIG_RFS_ACCEL - mlx4_en_cleanup_filters(priv); -#endif } void mlx4_en_deactivate_rx_ring(struct mlx4_en_priv *priv, |