diff options
| author | Sagi Grimberg <sagi@grimberg.me> | 2020-01-26 23:23:28 -0800 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2020-02-04 03:00:24 +0900 |
| commit | b716e6889c95f64ba32af492461f6cc9341f3f05 (patch) | |
| tree | f51aff28a48be1f1d92058d57674828f74b539d8 /lib/mpi/mpi-inline.h | |
| 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>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
