aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_cm.h
diff options
context:
space:
mode:
authorHefty, Sean <sean.hefty@intel.com>2011-10-06 09:33:05 -0700
committerRoland Dreier <roland@purestorage.com>2011-10-06 09:33:05 -0700
commitb7ab0b19a85fffaa04ad0b59471d3a607eef0a56 (patch)
treee48057f49cf2c61d11e261e40b963ce79e1eaf12 /drivers/infiniband/hw/nes/nes_cm.h
parentRDMA/cma: Check for NULL conn_param in rdma_accept (diff)
downloadlinux-dev-b7ab0b19a85fffaa04ad0b59471d3a607eef0a56.tar.xz
linux-dev-b7ab0b19a85fffaa04ad0b59471d3a607eef0a56.zip
IB/mad: Verify mgmt class in received MADs
If a received MAD contains an invalid or reserved mgmt class, we will attempt to access method_table outside of its range. Add a check to ensure that mgmt class falls within the handled range. Found by code inspection. Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_cm.h')
0 files changed, 0 insertions, 0 deletions