Commit 6e4eec86 authored by Yue Haibing's avatar Yue Haibing Committed by Greg Kroah-Hartman
Browse files

ipv6: mcast: Delay put pmc->idev in mld_del_delrec()



[ Upstream commit ae3264a2 ]

pmc->idev is still used in ip6_mc_clear_src(), so as mld_clear_delrec()
does, the reference should be put after ip6_mc_clear_src() return.

Fixes: 63ed8de4 ("mld: add mc_lock for protecting per-interface mld data")
Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Link: https://patch.msgid.link/20250714141957.3301871-1-yuehaibing@huawei.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 984a2fb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment