FreeBSD/sys/net/bridgestp.c
/*
 * The bstp_port structure is about to be freed by the parent bridge.
 */
The bstp_port structure is about to be freed by the parent bridge.
The bstp_port structure is about to be freed by the parent bridge .
void
bstp_destroy(struct bstp_port *bp)
{
	KASSERT(bp->bp_active == 0, ("port is still attached"));
	taskqueue_drain(taskqueue_swi, &bp->bp_statetask);
	taskqueue_drain(taskqueue_swi, &bp->bp_rtagetask);
	taskqueue_drain(taskqueue_swi, &bp->bp_mediatask);
}
void bstp_destroy ( struct bstp_port * bp ) { KASSERT ( bp -> bp_active == 0 , ( " " ) ) ; taskqueue_drain ( taskqueue_swi , & bp -> bp_statetask ) ; taskqueue_drain ( taskqueue_swi , & bp -> bp_rtagetask ) ; taskqueue_drain ( taskqueue_swi , & bp -> bp_mediatask ) ; }
The bstp_port structure is about to be freed by the parent bridge.
The bstp_port structure is about to be freed by the parent bridge .