bridge: make user modified path cost sticky
authorstephen hemminger <stephen@networkplumber.org>
Sat, 13 Apr 2013 14:06:07 +0000 (14:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2013 18:03:44 +0000 (14:03 -0400)
Keep a STP port path cost value if it was set by a user.
Don't replace it with the link-speed based path cost
whenever the link goes down and comes back up.

Reported-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found