diff options
author | Paulius Zaleckas <paulius.zaleckas@gmail.com> | 2012-03-06 23:25:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-03-08 09:25:25 +0100 |
commit | 5200959b833ddacf28b6ffce8c331dfd6e0ca797 (patch) | |
tree | a2a85508fb35f524e800b8451ddad8f3682948b1 /scripts | |
parent | bridge: br_log_state() s/entering/entered/ (diff) | |
download | linux-5200959b833ddacf28b6ffce8c331dfd6e0ca797.tar.xz linux-5200959b833ddacf28b6ffce8c331dfd6e0ca797.zip |
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: Zilvinas Valinskas <zilvinas@wilibox.com>
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions