mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
octeontx2-pf: Unregister devlink on probe failure
[ Upstream commit943f3b8bfb] When probe fails after devlink registration, the missing devlink unregister call causing a memory leak. Fixes:2da4894327("octeontx2-pf: devlink params support to set mcam entry count") Signed-off-by: Hariprasad Kelam <hkelam@marvell.com> Link: https://patch.msgid.link/20260206182645.4032737-1-hkelam@marvell.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
193a9e2d4d
commit
6d59928f8b
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue