Skip to content
Commit b9979c2e authored by Karsten Graul's avatar Karsten Graul Committed by David S. Miller
Browse files

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: default avatarUrsula Braun <ubraun@linux.ibm.com>
Fixes: 9ec6bf19

 ("net/smc: llc_del_link_work and use the LLC flow for delete link")
Signed-off-by: default avatarKarsten Graul <kgraul@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c48254fa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment