commit | b716e6889c95f64ba32af492461f6cc9341f3f05 | [log] [tgz] |
---|---|---|
author | Sagi Grimberg <sagi@grimberg.me> | Sun Jan 26 23:23:28 2020 -0800 |
committer | Keith Busch <kbusch@kernel.org> | Tue Feb 04 03:00:24 2020 +0900 |
tree | f51aff28a48be1f1d92058d57674828f74b539d8 | |
parent | 4ac76436a6d07dec1c3c766f234aa787a16e8f65 [diff] |
nvmet: fix dsm failure when payload does not match sgl descriptor The host is allowed to pass the controller an sgl describing a buffer that is larger than the dsm payload itself, allow it when executing dsm. Reported-by: Dakshaja Uppalapati <dakshaja@chelsio.com> Reviewed-by: Christoph Hellwig <hch@lst.de>, Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>