Skip to content
Commit 5200959b authored by Paulius Zaleckas's avatar Paulius Zaleckas Committed by David S. Miller
Browse files

bridge: fix state reporting when port is disabled



Now we have:
eth0: link *down*
br0: port 1(eth0) entered *forwarding* state

br_log_state(p) should be called *after* p->state is set
to BR_STATE_DISABLED.

Reported-by: default avatarZilvinas Valinskas <zilvinas@wilibox.com>
Signed-off-by: default avatarPaulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d9e179ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment