diff options
author | Ursula Braun <ubraun@linux.vnet.ibm.com> | 2017-09-21 10:16:32 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-22 01:31:03 +0300 |
commit | bfbedfd38378c1ad9df84469403d69c17b074b66 (patch) | |
tree | 4dda2a0ada224fb15e0634b81b3934aefa39d4ea /net/smc/smc_clc.h | |
parent | 5bc11ddbdf7fc6681db5c3f9a92cdee0f19cee1e (diff) | |
download | linux-bfbedfd38378c1ad9df84469403d69c17b074b66.tar.xz |
net/smc: terminate link group if out-of-sync is received
An out-of-sync condition can just be detected by the client.
If the server receives a CLC DECLINE message indicating an out-of-sync
condition for the link groups, the server must clean up the out-of-sync
link group.
There is no need for an extra third parameter in smc_clc_send_decline().
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_clc.h')
-rw-r--r-- | net/smc/smc_clc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/smc/smc_clc.h b/net/smc/smc_clc.h index 13db8ce177c9..1c55414041d4 100644 --- a/net/smc/smc_clc.h +++ b/net/smc/smc_clc.h @@ -106,8 +106,7 @@ struct smc_ib_device; int smc_clc_wait_msg(struct smc_sock *smc, void *buf, int buflen, u8 expected_type); -int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info, - u8 out_of_sync); +int smc_clc_send_decline(struct smc_sock *smc, u32 peer_diag_info); int smc_clc_send_proposal(struct smc_sock *smc, struct smc_ib_device *smcibdev, u8 ibport); int smc_clc_send_confirm(struct smc_sock *smc); |