commit | 83a5a6cef40616d19a388f560447e99c2ca04d1e | [log] [tgz] |
---|---|---|
author | Yan Burman <yanb@mellanox.com> | Thu Mar 07 03:46:56 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 07 15:52:04 2013 -0500 |
tree | 1efaf54862b2b89429d196912c3cc89e83e1b89a | |
parent | bfa8ab47415a87c6c93a9e54e16f2f8cc6de79af [diff] |
net/mlx4_en: Cleanup MAC resources on module unload or port stop Make sure we cleanup all MAC related resources (entries in the port MAC table and steering rules) when stopping a port or when the driver is unloaded. The leak was introduced by commit 07cb4b0a "net/mlx4_en: Manage hash of MAC addresses per port". Signed-off-by: Yan Burman <yanb@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>