commit | e72ebf5a578464204c8418d7d9b375333bb33161 | [log] [tgz] |
---|---|---|
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | Tue Oct 18 01:50:29 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Oct 19 03:42:26 2011 -0400 |
tree | 9a31012872207aef3d0dae1bd2e17dfb169f1e27 | |
parent | 5ea2ef5f8b006ff9e970327e7fea78f1f5841c44 [diff] |
mlx4: Fix vlan table overflow Prevent overflow when trying to register more Vlans then the Vlan table in HW is configured to. Need to take into acount that the first 2 entries are reserved. Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>