From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:52842 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752907AbbHVIZS (ORCPT ); Sat, 22 Aug 2015 04:25:18 -0400 Date: Sat, 22 Aug 2015 10:25:16 +0200 From: Christoph Hellwig To: Haggai Eran Cc: Sagi Grimberg , Doug Ledford , Sean Hefty , Hal Rosenstock , Eli Cohen , "linux-rdma@vger.kernel.org" , "stable@vger.kernel.org" Subject: Re: [PATCH 1/3] IB/uverbs: reject invalid or unknown opcodes 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 Content-Disposition: inline In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: 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.