Thread (8 messages) flat view 8 messages, 5 authors, 2017-05-22

Re: [PATCH net-next v2] bridge: fix hello and hold timers starting/stopping

From: David Miller <davem@davemloft.net>
Date: 2017-05-22 18:41:32
Also in: bridge

From: Ivan Vecera <redacted>
Date: Fri, 19 May 2017 19:30:43 +0200
Current bridge code incorrectly handles starting/stopping of hello and
hold timers during STP enable/disable.

1. Timers are stopped in br_stp_start() during NO_STP->USER_STP
   transition. The timers are already stopped in NO_STP state so
   this is confusing no-op.

2. During USER_STP->NO_STP transition the timers are started. This
   does not make sense and is confusion because the timer should not be
   active in NO_STP state.

Cc: davem@davemloft.net
Cc: sashok@cumulusnetworks.com
Cc: stephen@networkplumber.org
Cc: bridge@lists.linux-foundation.org
Cc: lucien.xin@gmail.com
Cc: nikolay@cumulusnetworks.com
Signed-off-by: Ivan Vecera <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help