net/smc: atomic SMCD cursor handling
authorUrsula Braun <ubraun@linux.ibm.com>
Tue, 20 Nov 2018 15:46:42 +0000 (16:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Nov 2018 00:14:56 +0000 (16:14 -0800)
commitb9a22dd9811dbcddb5623c499e5b736400059df6
treeaa6958e351f6bee0593326693fca2878ae14c6e6
parent0512f69e388c963dbe955d4bd9ae0f7d88d2dc54
net/smc: atomic SMCD cursor handling

Running uperf tests with SMCD on LPARs results in corrupted cursors.
SMCD cursors should be treated atomically to fix cursor corruption.

Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_cdc.c
net/smc/smc_cdc.h