From: Christoph Hellwig Date: Wed, 26 Aug 2015 09:00:37 +0000 (+0200) Subject: IB/uverbs: reject invalid or unknown opcodes X-Git-Tag: omap-for-v4.3/fixes-rc1~52^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133;p=pandora-kernel.git 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 Reviewed-by: Jason Gunthorpe Reviewed-by: Sagi Grimberg Signed-off-by: Doug Ledford --- Reading git-diff-tree failed