From: Christoph Hellwig Date: Wed, 26 Aug 2015 09:00:37 +0000 (+0200) Subject: IB/uverbs: reject invalid or unknown opcodes X-Git-Tag: v3.2.72~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7808f78e56756bd371a8e9b158203daa8df4c423;p=pandora-kernel.git 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 Reviewed-by: Jason Gunthorpe Reviewed-by: Sagi Grimberg Signed-off-by: Doug Ledford Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed