Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3315178imu; Sun, 11 Nov 2018 12:11:42 -0800 (PST) X-Google-Smtp-Source: AJdET5fuY4OYdOrKfgsvAyjd7sEFpjNj7P/ChgTrAkyZJNh7FnlfbnU1wdi66+z7v1UoVzrbAnGA X-Received: by 2002:a63:111c:: with SMTP id g28mr14871138pgl.85.1541967102705; Sun, 11 Nov 2018 12:11:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541967102; cv=none; d=google.com; s=arc-20160816; b=U85V0ljkQ4/xBlu6bbMicilGIJUXZd3LQSf13y/nYfR6Iu4FtNKtONOLVJ0RCPS+q2 wErwmrILv2Kvg6W+qwuiTKkE94Il6lEGLfVlx4cQagAg8peLr1wcusndXoxkkTayCsFh hNaVM8sDlUfo3GNN1AfhlD9PYMRiff/ldyhBGwwAAO4VXAee3ghhQ75oD+4NHRfb1q3I KkzSHoI+l833LwHKjX1XUQRxcTxr9sJ9UvyrpJzinQJNu18C3MKmKlR9Pe97oB06aG0Z PcFNYz0+n+yEG+4LNoMQcN1Yfz8MVtPgDlB578fvIHnXBfVFz7Vz+l+j+yQ8ChXcwEFh oLgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=8CZPGDk3pHYZT89bSe4reP5PcHbwUBffH/tO4sSty5Y=; b=NxW65UmAdP+/au0LrlXQGEzoTRgV7bv2UygijYSJ8nQbUmBQkDpZBHrwJiWOUZlSXs yaXpASZKdW5ayQPSpfGAJGnVmZlD2cohdOHvOD9/4aP9LyfnW/kCFkaWhGOPI8pR/+7r yPSoxYZqKsehLcuHWN32L2hRwG41Mj3SEhEL0y8pXUTbW7WCXt6tbdXVpHgGuoyFnJnc sdBDhnNzcJ8tCKHFFfIONiIirpY+xDEEULlGkURRl4HuPJqGdUp1mPhPV12Mpy49NNv1 j9DbCK7f2K3AeRq9VE4KYtn+tKjYGhQ2R487+jCZjz2Wp4gSKYYachhGsYJvU30ftJfm Y1RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si13293873pgw.352.2018.11.11.12.11.27; Sun, 11 Nov 2018 12:11:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731528AbeKLGAI (ORCPT + 99 others); Mon, 12 Nov 2018 01:00:08 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:52376 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727357AbeKLGAH (ORCPT ); Mon, 12 Nov 2018 01:00:07 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gLvt6-0000l7-1P; Sun, 11 Nov 2018 19:59:16 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gLvsQ-0001VE-Sz; Sun, 11 Nov 2018 19:58:34 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Leon Romanovsky" , "Doug Ledford" Date: Sun, 11 Nov 2018 19:49:05 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 105/366] RDMA/mlx4: Discard unknown SQP work requests In-Reply-To: X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.61-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Leon Romanovsky commit 6b1ca7ece15e94251d1d0d919f813943e4a58059 upstream. There is no need to crash the machine if unknown work request was received in SQP MAD. Fixes: 37bfc7c1e83f ("IB/mlx4: SR-IOV multiplex and demultiplex MADs") Signed-off-by: Leon Romanovsky Signed-off-by: Doug Ledford Signed-off-by: Ben Hutchings --- drivers/infiniband/hw/mlx4/mad.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/infiniband/hw/mlx4/mad.c +++ b/drivers/infiniband/hw/mlx4/mad.c @@ -1748,7 +1748,6 @@ static void mlx4_ib_sqp_comp_worker(stru "buf:%lld\n", wc.wr_id); break; default: - BUG_ON(1); break; } } else {