diff options
author | Christoph Hellwig <hch@lst.de> | 2015-08-26 11:00:37 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-07 10:21:25 -0400 |
commit | 8e75f06a93a76a04ee30400c4cbdecc190d3b25d (patch) | |
tree | 0485a35e6c668302699de88332e884e0bd26d367 /drivers/media/media-devnode.c | |
parent | b027811d9167a4d1e34ae5fc9d5b4e3fca0c5595 (diff) |
IB/uverbs: reject invalid or unknown opcodes
[ Upstream commit b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 ]
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.
Cc: stable@vger.kernel.org
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: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/media/media-devnode.c')
0 files changed, 0 insertions, 0 deletions