aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-03-10 05:29:35 -0500
committerDavid S. Miller <davem@davemloft.net>2010-03-18 23:00:02 -0400
commit3ca5b4042ecae5e73c59de62e4ac0db31c10e0f8 (patch)
treea285e4281bd9ee6a248d905cd4707c15a66bac96 /include/linux/netdevice.h
parent93d9b7d7a85cfb4e1711d5226eba73586dd4919f (diff)
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.h2
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
2005extern int dev_set_promiscuity(struct net_device *dev, int inc); 2005extern int dev_set_promiscuity(struct net_device *dev, int inc);
2006extern int dev_set_allmulti(struct net_device *dev, int inc); 2006extern int dev_set_allmulti(struct net_device *dev, int inc);
2007extern void netdev_state_change(struct net_device *dev); 2007extern void netdev_state_change(struct net_device *dev);
2008extern void netdev_bonding_change(struct net_device *dev, 2008extern int netdev_bonding_change(struct net_device *dev,
2009 unsigned long event); 2009 unsigned long event);
2010extern void netdev_features_change(struct net_device *dev); 2010extern void netdev_features_change(struct net_device *dev);
2011/* Load a device via the kmod */ 2011/* Load a device via the kmod */