]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/bonding/bond_3ad.c
[XFS] Fix regression introduced by remount fixup
[linux-2.6-omap-h63xx.git] / drivers / net / bonding / bond_3ad.c
index d16e0e1d2b30fba04d5f6f2d8ae81599480599d7..6106660a4a44b9a68f7a5b9a9c9c26a5b45ee689 100644 (file)
@@ -2107,6 +2107,7 @@ void bond_3ad_state_machine_handler(struct work_struct *work)
                        aggregator = __get_first_agg(port);
                        ad_agg_selection_logic(aggregator);
                }
+               bond_3ad_set_carrier(bond);
        }
 
        // for each port run the state machines
@@ -2429,7 +2430,7 @@ int bond_3ad_lacpdu_recv(struct sk_buff *skb, struct net_device *dev, struct pac
        struct slave *slave = NULL;
        int ret = NET_RX_DROP;
 
-       if (dev->nd_net != &init_net)
+       if (dev_net(dev) != &init_net)
                goto out;
 
        if (!(dev->flags & IFF_MASTER))