summaryrefslogtreecommitdiffstats
path: root/drivers/memory/mvebu-devbus.c
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2016-02-24 09:15:57 -0700
committerJens Axboe <axboe@fb.com>2016-03-03 14:42:50 -0700
commit63088ec7c8eadfe08b96127a41b385ec9742dace (patch)
treebf9ced59312fab61bec342bb406b2367c74040b1 /drivers/memory/mvebu-devbus.c
parent69d9a99c258eb1d6478fd9608a2070890797eed7 (diff)
downloadblackbird-op-linux-63088ec7c8eadfe08b96127a41b385ec9742dace.tar.gz
blackbird-op-linux-63088ec7c8eadfe08b96127a41b385ec9742dace.zip
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 'drivers/memory/mvebu-devbus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud