aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2022-11-08 09:55:17 +0000
committerJakub Kicinski <kuba@kernel.org>2022-11-09 19:26:08 -0800
commitd4072058af4fd8fb4658e7452289042a406a9398 (patch)
tree8fb0cb8fb49e8d8b74bf72e6f7f06ba92b9cd567 /drivers/net/ethernet
parentstmmac: intel: Update PCH PTP clock rate from 200MHz to 204.8MHz (diff)
downloadlinux-dev-d4072058af4fd8fb4658e7452289042a406a9398.tar.xz
linux-dev-d4072058af4fd8fb4658e7452289042a406a9398.zip
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: 4d8b9319282a ("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>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions