Searched hist:f731ed62934ace0d3f5aa9ec557349171711be05 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.h | diff f731ed62934ace0d3f5aa9ec557349171711be05 Tue Aug 11 02:07:27 CEST 2015 Bart Van Assche <bart.vanassche@sandisk.com> 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>
|
H A D | ib_srp.c | diff f731ed62934ace0d3f5aa9ec557349171711be05 Tue Aug 11 02:07:27 CEST 2015 Bart Van Assche <bart.vanassche@sandisk.com> 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>
|