netdev_set_master9
Set up master pointer
Usage
int netdev_set_master(struct net_device * slave, struct net_device * master);
Arguments
slave
slave device
master
new master device
Overview
Changes the master device of the slave. Pass NULL to break the bonding. The caller must hold the RTNL semaphore. On a failure a negative errno code is returned. On success the reference counts are adjusted and the function returns zero.
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.