Searched refs:wasroot (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/bridge/
H A Dbr_stp_if.c99 int wasroot; br_stp_disable_port() local
101 wasroot = br_is_root_bridge(br); br_stp_disable_port()
121 if (br_is_root_bridge(br) && !wasroot) br_stp_disable_port()
196 int wasroot; br_stp_change_bridge_id() local
198 wasroot = br_is_root_bridge(br); br_stp_change_bridge_id()
216 if (br_is_root_bridge(br) && !wasroot) br_stp_change_bridge_id()
253 int wasroot; br_stp_set_bridge_priority() local
256 wasroot = br_is_root_bridge(br); br_stp_set_bridge_priority()
271 if (br_is_root_bridge(br) && !wasroot) br_stp_set_bridge_priority()

Completed in 109 milliseconds