Re: [PATCH] bridge: don't allow setting hello time to zero

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dushan Tcholich <dusanc@...>, David Miller <davem@...>
Cc: <romieu@...>, <hancockr@...>, <netdev@...>, <linux-kernel@...>, <bridge@...>
Date: Monday, September 8, 2008 - 6:33 pm

On Mon, 8 Sep 2008 23:35:19 +0200
"Dushan Tcholich" <dusanc@gmail.com> wrote:


The basics:
* Hello timer is always enabled
* STP defaults to off unless you turn it on
* Turn STP on/off with brctl.

In the existing design, the hello timer always runs, even when STP
is not turned on. If STP is not enabled, the packet is just never
created.  Fixing it would not be hard (or gain much), but would have
to deal with complex lock ordering and timer problems, so it isn't
worth fixing for current releases.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-..., Stephen Hemminger, (Sun Aug 31, 1:05 pm)
[RFC] bridge: STP timer management range checking, Stephen Hemminger, (Sun Aug 31, 1:43 pm)
[PATCH] bridge: don't allow setting hello time to zero, Stephen Hemminger, (Thu Sep 4, 6:47 pm)
Re: [PATCH] bridge: don't allow setting hello time to zero, Dushan Tcholich, (Mon Sep 8, 5:35 pm)
Re: [PATCH] bridge: don't allow setting hello time to zero, Stephen Hemminger, (Mon Sep 8, 6:33 pm)
Re: [RFC] bridge: STP timer management range checking, David Miller, (Tue Sep 2, 8:28 pm)
Re: [RFC] bridge: STP timer management range checking, Stephen Hemminger, (Sun Aug 31, 7:29 pm)
Re: [RFC] bridge: STP timer management range checking, David Miller, (Tue Sep 2, 7:41 pm)