net/mlx4_en: Move filters cleanup to a proper location
authorEugenia Emantayev <eugenia@mellanox.com>
Mon, 18 Jul 2016 15:35:11 +0000 (18:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 23:44:11 +0000 (16:44 -0700)
commit30f56e3ced0f4966e8a84ece1acceccbbb73d365
tree1c2c13dac7f01b2b1684ca3683984d3b0bce4248
parentc74bfbdba0e8d056e4ba579a666b5cdb8ec3cd35
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>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
drivers/net/ethernet/mellanox/mlx4/en_rx.c