bridge: message age needs to increase, not decrease.
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Thu, 1 Mar 2012 08:12:19 +0000 (08:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2012 02:57:40 +0000 (21:57 -0500)
commit709e1b5cd9e1915ad4f6c470ebf6b55d4a911d8c
tree2af37cbde55a4b4a0a9872065d28e34ee88aad4d
parentaaca735f4f188641c4786af8f20ed39fcce3809c
bridge: message age needs to increase, not decrease.

commit bridge: send proper message_age in config BPDU
added this gem:
  bpdu.message_age = (jiffies - root->designated_age)
  p->designated_age = jiffies + bpdu->message_age;
Notice how bpdu->message_age is negated when reassigned to
bpdu.message_age. This causes message age to decrease breaking the
STP protocol.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp.c