commit | 1765a575334f1a232c1478accdee5c7d19f4b3e3 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jpirko@redhat.com> | Sat Feb 12 06:48:36 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 13 10:42:07 2011 -0800 |
tree | 6613f53ce9095b799048d891f0b4b6e34a479fe0 | |
parent | d59cfde2fb960b5970ccb5a38cea25d38b37a8e8 [diff] |
net: make dev->master general dev->master is now tightly connected to bonding driver. This patch makes this pointer more general and ready to be used by others. - netdev_set_master() - bond specifics moved to new function netdev_set_bond_master() - introduced netif_is_bond_slave() to check if device is a bonding slave Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>