summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGreg Thelen <gthelen@google.com>2018-04-26 20:19:35 +0200
committerDoug Ledford <dledford@redhat.com>2018-04-27 17:15:44 +0200
commitf7cb7b85be55a4906b4b4b30596db1043dae6335 (patch)
tree6b4472edb06ed3013d0b2c9059e50ccff1bc6df6 /drivers
parentib_srp: depend on INFINIBAND_ADDR_TRANS (diff)
downloadlinux-f7cb7b85be55a4906b4b4b30596db1043dae6335.tar.xz
linux-f7cb7b85be55a4906b4b4b30596db1043dae6335.zip
IB: make INFINIBAND_ADDR_TRANS configurable
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 <gthelen@google.com> Cc: Tarick Bedeir <tarick@google.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/Kconfig5
1 files changed, 4 insertions, 1 deletions
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