diff options
author | Aviad Yehezkel | 2012-09-05 22:50:50 +0000 |
---|---|---|
committer | David S. Miller | 2012-09-07 12:55:59 -0400 |
commit | 60d31c1475f20b6966f7efbd646b1123d0fba5b1 (patch) | |
tree | 6507278dfe5d7285fce23dbbcefd9e242c9df638 /net/ethernet/eth.c | |
parent | 7fb40f87c4195ec1728527f30bc744c47a45b366 (diff) |
net/mlx4_core: Looking for promiscuous entries on the correct port
The search for promisc entries was always done on the first port,
While the addition is done on the correct port.
This lead to resource leackage of promisc entries on the second
port and brought to a state where we could no longer enter to
promiscuous mode after enough iterations of "ifconfig promisc"
on the second port.
Fix that by using the correct port when searching.
Reported-by: Marcelo Ricardo Leitner <mleitner@redhat.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet/eth.c')
0 files changed, 0 insertions, 0 deletions