Matan Barak 982290a7fe net/mlx4_core: Check port number for validity before accessing data
Need to validate port number at mlx4_promisc_qp() before use.
Since port number is extracted from gid, as a cooked or corrupted gid
could lead to a crash.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-12-19 19:04:44 -05:00
..
2013-12-19 14:32:52 -05:00
2013-11-14 17:14:42 -05:00
2013-12-11 00:19:17 -05:00
2013-12-18 15:00:52 -05:00
2013-12-18 15:00:52 -05:00
2013-12-18 15:00:52 -05:00
2013-12-18 15:00:53 -05:00
2013-12-10 21:47:35 -05:00
2013-08-30 17:43:37 -04:00
2013-12-18 15:00:53 -05:00
2013-08-30 17:43:38 -04:00
2013-08-30 17:43:35 -04:00
2013-11-07 02:14:32 -05:00
2013-08-11 21:38:12 -07:00