]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: handle unexpected response types for confirm link
authorKarsten Graul <kgraul@linux.ibm.com>
Sat, 18 Jul 2020 13:06:09 +0000 (15:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jul 2020 22:30:22 +0000 (15:30 -0700)
commit4a260f574e6a906d359b6a656de20830207ba6b0
treeb58e77a5bc1f139d0f4996bc7411e62f2006ffac
parent5ee3c434b1e9270dd4942df038a30faf7dda8ecb
net/smc: handle unexpected response types for confirm link

A delete link could arrive during confirm link processing. Handle this
situation directly in smc_llc_srv_conf_link() rather than using the
logic in smc_llc_wait() to avoid the unexpected message handling there.

Reviewed-by: Ursula Braun <ubraun@linux.ibm.com>
Fixes: b0e09cfbf438 ("net/smc: final part of add link processing as SMC server")
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_llc.c