Eli Cohen
0926f91083
mlx4_en: Fix out of bounds array access
...
When searching for a free entry in either mlx4_register_vlan() or
mlx4_register_mac(), and there is no free entry, the loop terminates without
updating the local variable free thus causing out of array bounds access. Fix
this by adding a proper check outside the loop.
Signed-off-by: Eli Cohen <eli@mellanox.co.il >
Signed-off-by: David S. Miller <davem@davemloft.net >
2010-10-25 12:14:11 -07:00
..
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 20:30:48 -07:00
2010-10-23 11:47:02 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 14:20:01 -07:00
2010-10-24 12:44:34 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-23 11:47:02 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-23 22:59:33 +02:00
2010-10-24 13:41:39 -07:00
2010-10-24 18:16:59 +02:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 17:07:18 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 17:34:15 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 17:07:18 -07:00
2010-10-24 13:41:39 -07:00
2010-10-25 12:14:11 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-24 13:41:39 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:21:40 -07:00
2010-10-23 11:47:02 -07:00
2010-10-24 13:41:39 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 09:43:25 +02:00