diff options
author | thompsa <thompsa@FreeBSD.org> | 2006-11-03 03:34:04 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2006-11-03 03:34:04 +0000 |
commit | ea4ce366c75ac19398d5c72a7d67235e21730a39 (patch) | |
tree | 240f5fb07e74eaacfce5047d5b980d1799d018d5 /sys/net/bridgestp.c | |
parent | 86423adf4b0f99935615e33f8d6f07d4eb54dcfe (diff) | |
download | FreeBSD-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.c | 2 |
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 */ |