summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2011-10-18 01:50:29 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-19 03:42:26 -0400
commite72ebf5a578464204c8418d7d9b375333bb33161 (patch)
tree9a31012872207aef3d0dae1bd2e17dfb169f1e27 /include/linux/mlx4
parent5ea2ef5f8b006ff9e970327e7fea78f1f5841c44 (diff)
downloadlinux-stable-e72ebf5a578464204c8418d7d9b375333bb33161.tar.gz
linux-stable-e72ebf5a578464204c8418d7d9b375333bb33161.tar.bz2
linux-stable-e72ebf5a578464204c8418d7d9b375333bb33161.zip
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>
Diffstat (limited to 'include/linux/mlx4')
0 files changed, 0 insertions, 0 deletions