From: Roland Dreier Date: Sun, 6 Sep 2009 03:24:10 +0000 (-0700) Subject: IB/mad: Check hop count field in directed route MAD to avoid array overflow X-Git-Tag: v2.6.32-rc1~736^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60f2b652f54aa4ac4127a538abad05235fb9c469;p=pandora-kernel.git IB/mad: Check hop count field in directed route MAD to avoid array overflow The hop count field in a directed route MAD is only allowed to be in the range 0 to 63 (by spec). Check that this really is the case to avoid accessing outside the bounds of the hop array. Reported-by: Roel Kluin Signed-off-by: Roland Dreier --- Reading git-diff-tree failed