mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Tell bridgestp that we are about to free the memory so it can cleanup.
This commit is contained in:
parent
516b37d308
commit
fc5b6202ab
1 changed files with 3 additions and 0 deletions
|
|
@ -859,6 +859,9 @@ bridge_delete_member(struct bridge_softc *sc, struct bridge_iflist *bif,
|
|||
|
||||
bridge_rtdelete(sc, ifs, IFBF_FLUSHALL);
|
||||
|
||||
BRIDGE_UNLOCK(sc);
|
||||
bstp_drain(&bif->bif_stp); /* prepare to free */
|
||||
BRIDGE_LOCK(sc);
|
||||
free(bif, M_DEVBUF);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue