~ubuntu-branches/ubuntu/wily/linux-ti-omap4/wily

« back to all changes in this revision

Viewing changes to drivers/net/bonding/bonding.h

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2013-07-11 18:35:20 UTC
  • Revision ID: package-import@ubuntu.com-20130711183520-htnf1x4y5r11hndr
Tags: 3.5.0-229.42
* Release Tracking Bug
  - LP: #1199276

[ Paolo Pisati ]

* [Config] CONFIG_ATH9K_LEGACY_RATE_CONTROL is not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <linux/in6.h>
23
23
#include <linux/netpoll.h>
24
24
#include <linux/inetdevice.h>
 
25
#include <linux/etherdevice.h>
25
26
#include "bond_3ad.h"
26
27
#include "bond_alb.h"
27
28
 
450
451
}
451
452
#endif
452
453
 
 
454
static inline struct slave *bond_slave_has_mac(struct bonding *bond,
 
455
                                               const u8 *mac)
 
456
{
 
457
        int i = 0;
 
458
        struct slave *tmp;
 
459
 
 
460
        bond_for_each_slave(bond, tmp, i)
 
461
                if (ether_addr_equal_64bits(mac, tmp->dev->dev_addr))
 
462
                        return tmp;
 
463
 
 
464
        return NULL;
 
465
}
453
466
 
454
467
/* exported from bond_main.c */
455
468
extern int bond_net_id;