mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 08:02:56 +00:00
net: bridge: log port STP state on change
Remove the shared br_log_state function and print the info directly in br_set_state, where the net_bridge_port state is actually changed. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
37a6351a64
commit
7c25b16dbb
5 changed files with 4 additions and 15 deletions
|
@ -98,7 +98,6 @@ static void br_forward_delay_timer_expired(unsigned long arg)
|
|||
br_topology_change_detection(br);
|
||||
netif_carrier_on(br->dev);
|
||||
}
|
||||
br_log_state(p);
|
||||
rcu_read_lock();
|
||||
br_ifinfo_notify(RTM_NEWLINK, p);
|
||||
rcu_read_unlock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue