Date: Mon, 10 Feb 2025 14:32:04 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d6138a65405f - main - inet6: add the missing lock acquire to nd6_get_llentry Message-ID: <202502101432.51AEW4UJ088841@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=d6138a65405f697715189363b2b18581e7abd982 commit d6138a65405f697715189363b2b18581e7abd982 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2025-02-10 14:27:37 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2025-02-10 14:27:37 +0000 inet6: add the missing lock acquire to nd6_get_llentry Reported by: Lexi Winter PR: 282378 Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/netinet6/nd6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index e1fd421060df..887da1ebe21a 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -2357,6 +2357,7 @@ nd6_get_llentry(struct ifnet *ifp, const struct in6_addr *addr, int family) } else { /* child lle already exists, free newly-created one */ lltable_free_entry(LLTABLE6(ifp), child_lle); + LLE_WLOCK(lle_tmp); child_lle = lle_tmp; } LLE_WUNLOCK(lle);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502101432.51AEW4UJ088841>