net/smc: no cursor update send in state SMC_INIT
authorUrsula Braun <ubraun@linux.ibm.com>
Fri, 3 Aug 2018 08:38:33 +0000 (10:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Aug 2018 20:09:33 +0000 (13:09 -0700)
commit5607016cd1bbec538050b495669c3c8c5a2cee80
tree36ebe535d0f05bb706d29702244e16e89671584b
parentf664e37dcc525768280cb94321424a09beb1c992
net/smc: no cursor update send in state SMC_INIT

If a writer blocked condition is received without data, the current
consumer cursor is immediately sent. Servers could already receive this
condition in state SMC_INIT without finished tx-setup. This patch
avoids sending a consumer cursor update in this case.

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