diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-03-10 10:29:35 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-18 20:00:02 -0700 |
commit | 3ca5b4042ecae5e73c59de62e4ac0db31c10e0f8 (patch) | |
tree | a285e4281bd9ee6a248d905cd4707c15a66bac96 /include/linux/netdevice.h | |
parent | 93d9b7d7a85cfb4e1711d5226eba73586dd4919f (diff) | |
download | lwn-3ca5b4042ecae5e73c59de62e4ac0db31c10e0f8.tar.gz lwn-3ca5b4042ecae5e73c59de62e4ac0db31c10e0f8.zip |
bonding: check return value of nofitier when changing type
This patch adds the possibility to refuse the bonding type change for
other subsystems (such as for example bridge, vlan, etc.)
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 726ecd1af535..813bed723f58 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2005,7 +2005,7 @@ extern void __dev_addr_unsync(struct dev_addr_list **to, int *to_count, struct extern int dev_set_promiscuity(struct net_device *dev, int inc); extern int dev_set_allmulti(struct net_device *dev, int inc); extern void netdev_state_change(struct net_device *dev); -extern void netdev_bonding_change(struct net_device *dev, +extern int netdev_bonding_change(struct net_device *dev, unsigned long event); extern void netdev_features_change(struct net_device *dev); /* Load a device via the kmod */ |