]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] bonding: fix feature consolidation
authorJay Vosburgh <fubar@us.ibm.com>
Wed, 9 Nov 2005 18:02:38 +0000 (10:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Dec 2005 23:42:58 +0000 (15:42 -0800)
commitfd5bcd52d599f0c0a970005336bd9c020aee2e97
tree6b5c4ef4b36d57cead1a618258d6c98cd867eae1
parent73db2c2525cf8888e229189480e295817680df85
[PATCH] bonding: fix feature consolidation

This should resolve http://bugzilla.kernel.org/show_bug.cgi?id=5519

The current feature computation loses bits that it doesn't know about,
resulting in an inability to add VLANs and possibly other havoc.
Rewrote function to preserve bits it doesn't know about, remove an
unneeded state variable, and simplify the code.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h