aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIvan Vecera <[email protected]>2017-05-19 19:30:43 +0200
committerDavid S. Miller <[email protected]>2017-05-22 14:40:22 -0400
commitbd080488a6cfd37135becedfdc87643b139c2345 (patch)
treeb3ec5d73cf9895423e5e75cd7985821d0c0a65be /tools/perf/scripts/python
parent85deed56032b6c98b541895bfda9bdd74f6ed987 (diff)
bridge: fix hello and hold timers starting/stopping
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: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Ivan Vecera <[email protected]> Reviewed-by: Xin Long <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions