diff options
author | Nikolay Aleksandrov <[email protected]> | 2017-06-01 18:07:55 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-01 12:28:31 -0400 |
commit | aeb073241fe7a2b932e04e20c60e47718332877f (patch) | |
tree | 898aba11ad199bfd79b86c0f1bd62639abdfb7ec /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 3968d38917eb9bd0cd391265f6c9c538d9b33ffa (diff) |
net: bridge: start hello timer only if device is up
When the transition of NO_STP -> KERNEL_STP was fixed by always calling
mod_timer in br_stp_start, it introduced a new regression which causes
the timer to be armed even when the bridge is down, and since we stop
the timers in its ndo_stop() function, they never get disabled if the
device is destroyed before it's upped.
To reproduce:
$ while :; do ip l add br0 type bridge hello_time 100; brctl stp br0 on;
ip l del br0; done;
CC: Xin Long <[email protected]>
CC: Ivan Vecera <[email protected]>
CC: Sebastian Ott <[email protected]>
Reported-by: Sebastian Ott <[email protected]>
Fixes: 6d18c732b95c ("bridge: start hello_timer when enabling KERNEL_STP in br_stp_start")
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions