]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mlx4: Fix vlan table overflow
authorJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:34:37 +0000 (09:34 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 15 Dec 2011 01:34:37 +0000 (09:34 +0800)
commit5ac19624124332263cbf131b45d542a4ba3df601
tree4088942fb7d7cd0342be418cbee5858a8f0979df
parent2cfef7912b202df4a7fe6827991ad5bdcbb31fb4
mlx4: Fix vlan table overflow

commit e72ebf5a578464204c8418d7d9b375333bb33161
Author: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Date:   Tue Oct 18 01:50:29 2011 +0000

    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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/mlx4/port.c