bonding: check return value of nofitier when changing type
authorJiri Pirko <jpirko@redhat.com>
Wed, 10 Mar 2010 10:29:35 +0000 (10:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2010 03:00:02 +0000 (20:00 -0700)
commit3ca5b4042ecae5e73c59de62e4ac0db31c10e0f8
treea285e4281bd9ee6a248d905cd4707c15a66bac96
parent93d9b7d7a85cfb4e1711d5226eba73586dd4919f
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>
drivers/net/bonding/bond_main.c
include/linux/netdevice.h
net/core/dev.c