diff options
author | Christoph Hellwig <hch@lst.de> | 2015-08-26 11:00:37 +0200 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-09-30 11:13:10 +0200 |
commit | 6c1375b0ef61048fb83ae9dc1cf42254faa3ac38 (patch) | |
tree | 064da1d5c2b6e7a97c843ddcf6e472d8870a0d09 /net/lapb/lapb_subr.c | |
parent | 9b0c3ad1848c97f83f9f752b8445ffbc1e92afa0 (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: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions