#2 fix bugs related to releasing bonds

open
nobody
None
5
2002-02-19
2002-02-19
Anonymous
No

drivers/net/bonding.c:
- bond_release(): calling kfree on our_slave after
call to bond_restore_slave_flags, not before
- bond_enslave(): saving slave flags into
original_flags before call to netdev_set_master, so
the IFF_SLAVE flag doesn't end up in original_flags

ifenslave.c
- ifr2.ifr_flags was not initialized in the
hwaddr_notset case, SIOCGIFFLAGS now called before
hwaddr_notset test

Discussion