Repository navigation
Commit b632ffa
IB/uverbs: reject invalid or unknown opcodes
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>1 parent 54b9a96 commit b632ffa
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2372 | 2372 | | |
2373 | 2373 | | |
2374 | 2374 | | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
2375 | 2381 | | |
2376 | 2382 | | |
2377 | 2383 | | |
| |||
2411 | 2417 | | |
2412 | 2418 | | |
2413 | 2419 | | |
| 2420 | + | |
2414 | 2421 | | |
2415 | 2422 | | |
2416 | | - | |
| 2423 | + | |
| 2424 | + | |
2417 | 2425 | | |
2418 | 2426 | | |
2419 | 2427 | | |
| |||
0 commit comments