diff options
| author | Christoph Hellwig <hch@lst.de> | 2015-08-26 11:00:37 +0200 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2015-09-29 16:44:45 +0100 |
| commit | 4d00fba066c8f87af565d4e1ecdff2b3aa8fd21a (patch) | |
| tree | 88397adda93758308d3ab2ceab18d565fb92ee8e /include/linux | |
| parent | d4fae56ff86c6c0b70ad7972b616f05fcc3455de (diff) | |
IB/uverbs: reject invalid or unknown opcodes
commit b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 upstream.
We have many WR opcodes that are only supported in kernel space
and/or require optional information to be copied into the WR
structure. Reject all those not explicitly handled so that we
can't pass invalid information to drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
