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
@ -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