diff options
author | Keith Busch <keith.busch@intel.com> | 2016-02-24 19:15:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-03-04 00:42:50 +0300 |
commit | 63088ec7c8eadfe08b96127a41b385ec9742dace (patch) | |
tree | bf9ced59312fab61bec342bb406b2367c74040b1 /net/phonet/pn_dev.c | |
parent | 69d9a99c258eb1d6478fd9608a2070890797eed7 (diff) | |
download | linux-63088ec7c8eadfe08b96127a41b385ec9742dace.tar.xz |
NVMe: Don't allow unsupported flags
The command flags can change the meaning of other fields in the command
that the driver is not prepared to handle. Specifically, the user could
passthrough an SGL flag, causing the controller to misinterpret the PRP
list the driver created, potentially corrupting memory or data.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Jon Derrick <jonathan.derrick@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/phonet/pn_dev.c')
0 files changed, 0 insertions, 0 deletions