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-08 10:02:27 +01: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-05 15:01:10 +02:00
2010-10-24 13:41:39 -07:00
2010-10-24 14:20:01 -07:00
2010-09-28 23:30:38 -04: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-18 22:34:25 +01: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-07 14:02:12 -04:00
2010-10-15 15:53:27 +02: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-05 15:01:10 +02: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-18 11:03:14 +02: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-07 13:44:30 -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-09-29 17:20:23 +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-22 10:21:40 -07:00
2010-10-23 11:47:02 -07:00
2010-10-24 13:41:39 -07:00
2010-10-07 14:08:54 +01: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