From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 1/3] IB/uverbs: reject invalid or unknown opcodes Date: Sat, 22 Aug 2015 10:25:16 +0200 Message-ID: <20150822082516.GC1857@lst.de> References: <1440002254-795-1-git-send-email-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org To: Haggai Eran Cc: Sagi Grimberg , Doug Ledford , Sean Hefty , Hal Rosenstock , Eli Cohen , "linux-rdma@vger.kernel.org" , "stable@vger.kernel.org" List-Id: linux-rdma@vger.kernel.org On Sat, Aug 22, 2015 at 06:38:47AM +0000, Haggai Eran wrote: > It looks like the default case in the non-UD branch is currently used to handle plain IB_WR_SEND operations, so the patch would cause these to return an error. Indeed. It's handled fine in patch 2 which splits up the case, but will be incorrectly rejected with just this patch applied.