commit | f731ed62934ace0d3f5aa9ec557349171711be05 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Mon Aug 10 17:07:27 2015 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Sun Aug 30 18:12:37 2015 -0400 |
tree | a3e7332634f679faa18579d7da6a0e1bd7b0ea0b | |
parent | 7e85c91970125cb16399c7d1cfedc943266eee49 [diff] |
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 <bart.vanassche@sandisk.com> Signed-off-by: Doug Ledford <dledford@redhat.com>