summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorYevgeny Petrilin2011-10-18 03:50:29 +0200
committerDavid S. Miller2011-10-19 09:42:26 +0200
commite72ebf5a578464204c8418d7d9b375333bb33161 (patch)
tree9a31012872207aef3d0dae1bd2e17dfb169f1e27 /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
parentcaif-hsi: Added recovery check of CA wake status. (diff)
downloadkernel-qcow2-linux-e72ebf5a578464204c8418d7d9b375333bb33161.tar.gz
kernel-qcow2-linux-e72ebf5a578464204c8418d7d9b375333bb33161.tar.xz
kernel-qcow2-linux-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 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
0 files changed, 0 insertions, 0 deletions