mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Move ifq drain into in6m_purge().
Suggested by: bms MFC after: 1 week Sponsored by: Yandex LLC
This commit is contained in:
parent
903fb143cf
commit
3c268b3afc
1 changed files with 2 additions and 3 deletions
|
|
@ -526,9 +526,6 @@ in6m_release_locked(struct in6_multi *inm)
|
|||
|
||||
in6m_purge(inm);
|
||||
|
||||
/* Free state-change requests that might be queued. */
|
||||
_IF_DRAIN(&inm->in6m_scq);
|
||||
|
||||
free(inm, M_IP6MADDR);
|
||||
|
||||
if_delmulti_ifma(ifma);
|
||||
|
|
@ -1076,6 +1073,8 @@ in6m_purge(struct in6_multi *inm)
|
|||
free(ims, M_IP6MSOURCE);
|
||||
inm->in6m_nsrc--;
|
||||
}
|
||||
/* Free state-change requests that might be queued. */
|
||||
_IF_DRAIN(&inm->in6m_scq);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue