diff options
| author | 2013-12-19 21:20:18 +0200 | |
|---|---|---|
| committer | 2013-12-19 19:04:44 -0500 | |
| commit | 982290a7fe36e528af292d3e3b61939b1900bfc6 (patch) | |
| tree | c8c21acd38576bc0518d79d4784dfc8938327ce0 /include | |
| parent | net/mlx4_en: Add NAPI support for transmit side (diff) | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
