nvme-fabrics: check more command sizes
authorMinwoo Im <minwoo.im.dev@gmail.com>
Thu, 11 Apr 2019 15:18:31 +0000 (00:18 +0900)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 May 2019 13:17:27 +0000 (09:17 -0400)
commita2faf94e57c5237a9cad31f63eeaf2412ed0e951
tree0c95af51c112b79dc8cfb0c64a513dc4a5a511a7
parenta97234e1ff1ec9d5a41c6adff5632c61639dee6a
nvme-fabrics: check more command sizes

struct common_command provides a common structure for NVMe-oF command
format.  It also needs to be checked for unintended size growth.

Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c