]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6937af22738f55a31ac3c0f13c1003677b3e21c3
treea285e4281bd9ee6a248d905cd4707c15a66bac96
parente4fdba378f9225864e1e9aa03faba620eb28a2c1
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