]> xenbits.xensource.com Git - people/ssmith/nc2-2.6.27.git/commitdiff
patch bonding-balance-slb-fixes3.patch
authorSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:47 +0000 (12:55 +0100)
committerSteven Smith <ssmith@weybridge.uk.xensource.com>
Tue, 30 Jun 2009 11:55:47 +0000 (12:55 +0100)
net/bridge/br_fdb.c

index 06b8608c0153f5fb37b738462e9b026f864b083a..288f87b6c54e2194fca51fd6f2f1c2ab4860dc92 100644 (file)
@@ -423,7 +423,7 @@ int br_fdb_update(struct net_bridge *br, struct net_bridge_port *source,
 #pragma pack()
                        struct arp_pkt *arp = (struct arp_pkt *)skb->data;
 
-                       if (compare_ether_addr(bcast, addr) != 0)
+                       if (compare_ether_addr(bcast, eth_hdr(skb)->h_dest) != 0)
                                return 0;
 
                        if (!arp)