commit | 5a52405a30abf70a60312ad4231385699f09cb85 | [log] [tgz] |
---|---|---|
author | Veaceslav Falico <vfalico@redhat.com> | Wed Sep 25 09:20:24 2013 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 26 16:02:06 2013 -0400 |
tree | 9fdb016dfad27db3e92095b34a3498ecfe3c5e1b | |
parent | b6ccba4c681fdaf0070e580bf951badf7edc860b [diff] |
bonding: convert first/last slave logic to use neighbours For that, use netdev_adjacent_get_private(list_head) on bond's lower neighbour list members. Also, add a small macro - bond_slave_list(bond), which returns the bond list via neighbour list. CC: Jay Vosburgh <fubar@us.ibm.com> CC: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>