]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[BRIDGE]: Fix faulty check in br_stp_recalculate_bridge_id()
authorStephen Hemminger <shemminger@osdl.org>
Tue, 3 Jan 2006 22:35:54 +0000 (14:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jan 2006 22:35:54 +0000 (14:35 -0800)
commit554c9a8ec37729bff69951cb740074abbae21afa
treef327e7dfc005da2d6792896525f5269308503e0b
parente84a9f5e9cd2b229dda24002334bc3cd36c1109d
[BRIDGE]: Fix faulty check in br_stp_recalculate_bridge_id()

One of the conversions from memcmp to compare_ether_addr is incorrect.
We need to do relative comparison to determine min MAC address to
use in bridge id.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_stp_if.c