acrn-kernel/net/mctp
Wei Yongjun d4072058af mctp: Fix an error handling path in mctp_init()
If mctp_neigh_init() return error, the routes resources should
be released in the error handling path. Otherwise some resources
leak.

Fixes: 4d8b931928 ("mctp: Add neighbour implementation")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Matt Johnston <matt@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20221108095517.620115-1-weiyongjun@huaweicloud.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-09 19:26:08 -08:00
..
test
Kconfig
Makefile
af_mctp.c mctp: Fix an error handling path in mctp_init() 2022-11-09 19:26:08 -08:00
device.c
neigh.c
route.c mctp: Fix an error handling path in mctp_init() 2022-11-09 19:26:08 -08:00