commit | 9e71626c1c23ec69372c43c6fe66c1171032bf42 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Fri Jun 12 19:02:47 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Jun 13 23:28:56 2009 -0700 |
tree | 664e2c6d342c210a6f041b97ed9a3d9c1bc58f06 | |
parent | 7e0838404541d2758bee089632690aabd82f3d5d [diff] |
bonding: fix destructor It is not safe to use a network device destructor that is a function in the module, since it can be called after module is unloaded if sysfs handle is open. When eventually using netlink, the device cleanup code needs to be done via uninit function. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>