[BONDING]: Fix resource use after free
authorJay Vosburgh <fubar@us.ibm.com>
Wed, 14 Nov 2007 05:16:29 +0000 (21:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2007 05:16:29 +0000 (21:16 -0800)
Fix bond_destroy and bond_free_all to not reference the struct
net_device after calling unregister_netdevice.

Bug and offending change reported by Moni Shoua <monis@voltaire.com>

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found