diff options
author | Tony Lu <tonylu@linux.alibaba.com> | 2022-02-25 14:56:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-28 11:31:49 +0000 |
commit | 4d08b7b57ece83a1c31c633a7e4e27f121157f9c (patch) | |
tree | 29c695b76dfd29341bc29d5c940059fa7dd51fb7 /drivers/net/ethernet/samsung/sxgbe | |
parent | 9995b408f17ff8c7f11bc725c8aa225ba3a63b1c (diff) |
net/smc: Fix cleanup when register ULP fails
This patch calls smc_ib_unregister_client() when tcp_register_ulp()
fails, and make sure to clean it up.
Fixes: d7cd421da9da ("net/smc: Introduce TCP ULP support")
Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/samsung/sxgbe')
0 files changed, 0 insertions, 0 deletions