summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-11-03 03:34:04 +0000
committerthompsa <thompsa@FreeBSD.org>2006-11-03 03:34:04 +0000
commitea4ce366c75ac19398d5c72a7d67235e21730a39 (patch)
tree240f5fb07e74eaacfce5047d5b980d1799d018d5 /sys/net/bridgestp.c
parent86423adf4b0f99935615e33f8d6f07d4eb54dcfe (diff)
downloadFreeBSD-src-ea4ce366c75ac19398d5c72a7d67235e21730a39.zip
FreeBSD-src-ea4ce366c75ac19398d5c72a7d67235e21730a39.tar.gz
Defer sending the bpdu from bstp_update_info as all code paths will test this
flag anyway.
Diffstat (limited to 'sys/net/bridgestp.c')
-rw-r--r--sys/net/bridgestp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 2f63bb3..4cf2a33 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -1160,8 +1160,8 @@ bstp_update_info(struct bstp_port *bp)
bp->bp_port_htime = bp->bp_desg_htime;
bp->bp_infois = BSTP_INFO_MINE;
+ /* Set transmit flag but do not immediately send */
bp->bp_flags |= BSTP_PORT_NEWINFO;
- bstp_transmit(bs, bp);
}
/* set tcprop on every port other than the caller */
OpenPOWER on IntegriCloud