From: Jay Vosburgh <fubar@us...> - 2003-03-17 22:28:27
I just uploaded bonding-2.4.20-20030317 to sourceforge. This
contains two bug fixes, and two minor updates:
A fix for the GPF_KERNEL / GPF_ATOMIC problems with kmalloc (as
discussed over the last few days). This just makes a couple of kmalloc
calls use ATOMIC.
A fix for the potential problem in bond_xmit_xor() discussed on the
list under the topic of "division by zero." The new code rearranges how
update_slave_cnt() is used, and adds dedicated "add" and "remove" functions
for adding and removing slaves. The add/remove functions are now the only
callers of update_slave_cnt(), which generates the count and compares it to
the expected value. The bond_xmit_xor() function itself now checks
slave_cnt rather than what it did before. The interested parties are
invitied to have a look and provide their feedback.
The minor updates are a code cleanup to pull in the prototype for
arp_send() from the appropriate header file, and the addition of
documentation for max_bonds to bonding.txt.