]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a678b2e5f3290a63689c624d8f57ed92effc712
tree36ebe535d0f05bb706d29702244e16e89671584b
parent34664995cd4d050e67783129e847be150548ff70
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