From: Hefty, Sean Date: Thu, 6 Oct 2011 16:33:05 +0000 (-0700) Subject: IB/mad: Verify mgmt class in received MADs X-Git-Tag: v3.2-rc1~104^2^8~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7ab0b19a85fffaa04ad0b59471d3a607eef0a56;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed