Received: by 10.192.165.148 with SMTP id m20csp1263231imm; Wed, 25 Apr 2018 15:37:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq5BsoJqwfMZBHeodkqOwGZREne4kibXWQb7fh0ntm1r+NCHD0tY1wQ8PycLxltNF6uGqFD X-Received: by 10.98.75.139 with SMTP id d11mr1319750pfj.244.1524695861801; Wed, 25 Apr 2018 15:37:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524695861; cv=none; d=google.com; s=arc-20160816; b=GFHRyEWDV7DRlR0wwJ1Iopqt+3tD1htugtteFrYN3UyVNl5cTf1FyTjb0YZ+jfjT1Y yYnPfnDtb3xrGB3lhez2pI2XfecDFPTf1haIK0sOz4ORJAqHxJDmMCfJo7/sdcUVNj7d B2k2gfm+xZfxFksL2x/QtGI8AzwYi2+5LJgj2x08sEiuiqmhR2G6tcvdJf50/VlSLeA9 kqPPwioLMNrgIpgknEoS1h3QWJWE3Cykv+Op/kDtgTfOuN5iA6ZaKK+q3CmVfodDN+vz XoelC83FLN+jukm77mLKjavfKXAdT9DKOqXaPPS5cvR8GqroSXzq0hWgu/8sVaJ7ufuC SjBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=6BI/89Xir9ODxty7Okg91rNybhYTYyYX04wSkcRW1MA=; b=ngbBqMIlESlEBIA5fmMBpqmGtP+VGARgIcP3GvhvwVOZA/sdjxfBLQxi6BZGGv0cFZ 1DFclUKIwHlvwM26wJ4Ce4bP0Aydutv10x6SaZe7jJabguFGXpLT+pAC4PnJy+HgTAr7 pqOnt+RFcvlB0uSeDEijE7c4lP0EPbp4QYdAlgjWrCRVsnaIiDkoL5jAB8J/6FtGFsLr ogjgiTz347cS8wg1kirInapX1yWC2lYfr4Hs+pHI27GMVnF0++SNi1CwKX9La4Cf3tay 13w+Jx3Y8QGpXoH5YrnuacPB5sGA97uDNJb14wiNw3vCoUp1jWWVESvHsgTbjmPnfO5S eVzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Je+GX+8e; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q11si10818275pgv.661.2018.04.25.15.37.27; Wed, 25 Apr 2018 15:37:41 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=Je+GX+8e; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753898AbeDYWej (ORCPT + 99 others); Wed, 25 Apr 2018 18:34:39 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:38670 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753344AbeDYWee (ORCPT ); Wed, 25 Apr 2018 18:34:34 -0400 Received: by mail-pf0-f195.google.com with SMTP id o76so11732944pfi.5 for ; Wed, 25 Apr 2018 15:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=6BI/89Xir9ODxty7Okg91rNybhYTYyYX04wSkcRW1MA=; b=Je+GX+8eA7FxWAVv2oz4gJ0Z5+7YyuZ/+ATYfszvvPZ31vEHmKni2lj/IGfGP9Qx5d WXYZEuYgC1Zb53J/brcA6xVHE1aLTkGDMrZhTinp7vVBFWQemZ0LO9IOPWCb2+6JkjcQ v+G21oVwcZ/vWuHocSa4tpl8IkfueLAdy6nvSZxHQj3vKft42/rV8wev22QMWGaFz+Ve /aYkgFiT5OQnRgAsEdwyX45iByenXQaq21WkFRAeN7ep92D3zUsnzT5QpvV6bOTNUYcn USTM+oUsGnp19/A2beBM5rdo/DYof0FjtLymIEy5/hB7MxrS2VWAqWl+8uHj2Uj/eafh wVCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6BI/89Xir9ODxty7Okg91rNybhYTYyYX04wSkcRW1MA=; b=P/cUwy+HU412Lunw001cbSmroRzwNijQ8GBuAbPYYmdhswiQ7nF37Vsp1VG0QC1dXY HSP89WlYeKC/u0idX4hdD7l8+egJhC8OtJxgTX4tDtF2HK92NbUIzY4qBBjehaNvLd76 twLXdcP9zWb7jTB0x/GlRj7KpebvLNMWqTjR8UrbEi027Aqij9bRT3tfJxxLinKx7bbB JfxzwUvL1+XXayMxJvlEJ8PIHUtE8Srbm3ehAUINldpFai52WZ2glfY0mBKuDkjSa8ve /wy5+wr4k2BpO+Uhkl3q+xEFdtE1F7IHDW12gwzQaWZ8eTRN3z+LfKbnep3hU7xLB3qK SkCw== X-Gm-Message-State: ALQs6tC67+vLLiEwUMlRfOZIhwabj9FrrkFxDheqjJT9pbXYLbVJK76S A8MXIK+4SDL1iYktJqugy90raQ== X-Received: by 10.98.147.66 with SMTP id b63mr8357379pfe.130.1524695673190; Wed, 25 Apr 2018 15:34:33 -0700 (PDT) Received: from gthelen.svl.corp.google.com ([2620:15c:2cb:201:7fd0:97b4:747b:9bf1]) by smtp.gmail.com with ESMTPSA id q62sm40485746pfd.61.2018.04.25.15.34.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Apr 2018 15:34:32 -0700 (PDT) From: Greg Thelen To: Doug Ledford , Bart Van Assche , Jason Gunthorpe Cc: Christoph Hellwig , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Thelen , Tarick Bedeir Subject: [PATCH 5/5] IB: make INFINIBAND_ADDR_TRANS configurable Date: Wed, 25 Apr 2018 15:34:24 -0700 Message-Id: <20180425223424.207228-1-gthelen@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-goog Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow INFINIBAND without INFINIBAND_ADDR_TRANS because fuzzing has been finding fair number of CM bugs. So provide option to disable it. Signed-off-by: Greg Thelen Cc: Tarick Bedeir --- drivers/infiniband/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index ee270e065ba9..2a972ed6851b 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -61,9 +61,12 @@ config INFINIBAND_ON_DEMAND_PAGING pages on demand instead. config INFINIBAND_ADDR_TRANS - bool + bool "RDMA/CM" depends on INFINIBAND default y + ---help--- + Support for RDMA communication manager (CM). + This allows for a generic connection abstraction over RDMA. config INFINIBAND_ADDR_TRANS_CONFIGFS bool -- 2.17.0.441.gb46fe60e1d-goog