Skip to content
Commit ddf91717 authored by Amit Engel's avatar Amit Engel Committed by Christoph Hellwig
Browse files

nvmet: for nvme admin set_features cmd, call nvmet_check_data_len_lte()



This is due to the fact that the host is allowed to pass the controller
an sgl describing a buffer that is larger than the payload itself

Signed-off-by: default avatarAmit Engel <Amit.Engel@dell.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 99607843
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment