scsi: sg: add sg_remove_request in sg_common_write
hulk inclusion category: bugfix bugzilla: 34234 CVE: NA -------------------------------- If the dxfer_len is greater than 256M then the request is invalid, it should call sg_remove_request in sg_common_write. Fixes: f930c704 ("scsi: sg: only check for dxfer_len greater than 256M") Signed-off-by:Li Bin <huawei.libin@huawei.com> Acked-by:
Douglas Gilbert <dgilbert@interlog.com> Reviewed-by:
Hou Tao <houtao1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment