summaryrefslogtreecommitdiff
path: root/net/smc/smc_core.c
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2020-07-18 15:06:15 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-19 15:30:22 -0700
commitb9979c2e837926c87358024a95c67988477909b1 (patch)
treee2c952ceefac99fdabe5c06327edf67456bf7b91 /net/smc/smc_core.c
parentc48254fa48e5bad589fbbf1578dae960cedcafcf (diff)
net/smc: fix handling of delete link requests
As smc client the delete link requests are assigned to the flow when _any_ flow is active. This may break other flows that do not expect delete link requests during their handling. Fix that by assigning the request only when an add link flow is active. With that fix the code for smc client and smc server is the same, so remove the separate handling. Reviewed-by: Ursula Braun <ubraun@linux.ibm.com> Fixes: 9ec6bf19ec8b ("net/smc: llc_del_link_work and use the LLC flow for delete link") Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc/smc_core.c')
0 files changed, 0 insertions, 0 deletions