Sagi Grimberg b716e6889c 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>
2020-02-04 03:00:24 +09:00
..
2020-01-27 13:03:00 -08:00
2020-01-29 15:25:34 -08:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-01-23 00:35:50 +01:00
2019-12-01 18:43:25 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-01-22 09:05:34 +01:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2019-11-30 14:35:43 -08:00
2019-12-01 18:42:02 -08:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2019-12-03 14:37:12 -08:00
2020-01-29 10:35:54 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2019-12-01 18:43:25 -08:00
2020-01-16 20:56:49 +01:00
2020-01-27 13:03:00 -08:00
2019-11-25 19:40:40 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2019-12-05 11:28:14 -08:00
2020-01-27 13:03:00 -08:00
2019-12-01 18:39:24 -08:00
2020-01-27 13:03:00 -08:00
2020-01-26 15:20:32 +01:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-01-27 13:03:00 -08:00
2020-01-29 10:15:11 -08:00
2020-01-26 10:39:09 -08:00
2020-01-29 10:13:27 -08:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-01-27 13:03:00 -08:00
2019-12-25 10:41:37 +01:00