OSDN Git Service

net/smc: Add warning about remote memory exposure
authorChristoph Hellwig <hch@lst.de>
Tue, 16 May 2017 06:51:38 +0000 (09:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 18:49:43 +0000 (14:49 -0400)
The driver explicitly bypasses APIs to register all memory once a
connection is made, and thus allows remote access to memory.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Acked-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/Kconfig

index c717ef0..3395485 100644 (file)
@@ -8,6 +8,10 @@ config SMC
          The Linux implementation of the SMC-R solution is designed as
          a separate socket family SMC.
 
+         Warning: SMC will expose all memory for remote reads and writes
+         once a connection is established.  Don't enable this option except
+         for tightly controlled lab environment.
+
          Select this option if you want to run SMC socket applications
 
 config SMC_DIAG