mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
Remove a bogus KASSERT from nd6_prefix_unlink().
The caller may unlink a prefix before purging referencing addresses. An identical assertion in nd6_prefix_del() verifies that the addresses are purged before the prefix is freed. PR: 215372 X-MFC With: r306829
This commit is contained in:
parent
32920cbfa3
commit
62280740d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310286
@ -1122,8 +1122,6 @@ void
|
||||
nd6_prefix_unlink(struct nd_prefix *pr, struct nd_prhead *list)
|
||||
{
|
||||
|
||||
KASSERT(pr->ndpr_addrcnt == 0,
|
||||
("prefix %p has referencing addresses", pr));
|
||||
ND6_WLOCK_ASSERT();
|
||||
|
||||
LIST_REMOVE(pr, ndpr_entry);
|
||||
|
Loading…
Reference in New Issue
Block a user