Skip to content

Commit

Permalink
net/smc: Add warning about remote memory exposure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and davem330 committed May 16, 2017
1 parent 263eec9 commit 19a0f7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions net/smc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19a0f7e

Please sign in to comment.