From: Bart Van Assche Date: Tue, 11 Aug 2015 00:07:27 +0000 (-0700) Subject: IB/srp: Add memory descriptor array pointer range checking X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f731ed62934ace0d3f5aa9ec557349171711be05;p=pandora-kernel.git IB/srp: Add memory descriptor array pointer range checking Although most paths through which a request is submitted check block layer parameters like the max_segments limit, these are not checked when an SG_IO or direct I/O request is submitted. Hence add a range check for the memory descriptor array pointer. Signed-off-by: Bart Van Assche Signed-off-by: Doug Ledford --- Reading git-diff-tree failed