Be sure to disable the port when removing it from STP.
This commit is contained in:
parent
c0e1415d51
commit
df6e8892dc
@ -1267,6 +1267,8 @@ bstp_delete(struct bstp_port *bp)
|
||||
KASSERT(bp->bp_active == 1, ("not a bstp member"));
|
||||
|
||||
BSTP_LOCK(bs);
|
||||
if (bp->bp_state != BSTP_IFSTATE_DISABLED)
|
||||
bstp_disable_port(bs, bp);
|
||||
LIST_REMOVE(bp, bp_next);
|
||||
BSTP_UNLOCK(bs);
|
||||
bp->bp_bs = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user