]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/bonding/bond_main.c
[PATCH] bonding: Don't release slaves when master is admin down
authorjamal <hadi@cyberus.ca>
Sat, 23 Sep 2006 04:54:37 +0000 (21:54 -0700)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Sep 2006 00:08:09 +0000 (20:08 -0400)
commit70298705bb29fb7982b85089adf17cd37b94baa7
treef0522fcc50991fdc295d6f3f8f1b737c9146ccfa
parent0b680e753724d31a9c45f059d1aad29df54584a1
[PATCH] bonding: Don't release slaves when master is admin down

When a bonding netdevice is admin-ed down it loses the slaves
attributes (set via ifenslave). This is not consistent with other
behavior of netdevices (example a qdisc attached to a netdevice doesnt
disappear or an attached IP address etc).
The included patch fixes this. Ive tested by ifenslaving, downing the
bond, checking /proc and making sure it still has the slaves, up-ing the
bond and making sure things continue to work.

Jay/Bonding folks if you are ok with it, just ACK it or include it in
your tree etc. Otherwise we can discuss.

Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/bonding/bond_main.c