aboutsummaryrefslogtreecommitdiff
path: root/net/ethernet/eth.c
diff options
context:
space:
mode:
authorAviad Yehezkel2012-09-05 22:50:50 +0000
committerDavid S. Miller2012-09-07 12:55:59 -0400
commit60d31c1475f20b6966f7efbd646b1123d0fba5b1 (patch)
tree6507278dfe5d7285fce23dbbcefd9e242c9df638 /net/ethernet/eth.c
parent7fb40f87c4195ec1728527f30bc744c47a45b366 (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