]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: bcmasp: fix early exit leak with fixed phy
authorJustin Chen <justin.chen@broadcom.com>
Thu, 22 Jan 2026 19:40:01 +0000 (11:40 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 23 Jan 2026 18:50:49 +0000 (10:50 -0800)
commit6de4436bf369e1444606445e4cd5df5bcfc74b48
tree03fcd45bb63fd1e34baa848821207b1bbafd3538
parentd48c896cb2c122a24545c4300f7d50812f68eeb9
net: bcmasp: fix early exit leak with fixed phy

We are not deregistering the fixed phy link when hitting the early
exit condition. Add the correct early exit sequence.

Fixes: 490cb412007d ("net: bcmasp: Add support for ASP2.0 Ethernet controller")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20260122194001.1098859-1-justin.chen@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c