OSDN Git Service

net/smc: Fix device de-init sequence
authorStefan Raspl <raspl@linux.ibm.com>
Mon, 13 Mar 2023 10:08:29 +0000 (11:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Mar 2023 08:15:19 +0000 (08:15 +0000)
commit9d876d3ef27fa84355597ad269939772192356d8
tree15eb91ba7cad8b338035cf91b4da682cfaac2b09
parent13085e1b5cab8ad802904d72e6a6dae85ae0cd20
net/smc: Fix device de-init sequence

CLC message initialization was not properly reversed in error handling path.

Reported-and-suggested-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Stefan Raspl <raspl@linux.ibm.com>
Signed-off-by: Wenjia Zhang <wenjia@linux.ibm.com>
Reviewed-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c