commit | edb5abb1e2a84fd8802a3577d95eac84fe1405ab | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Tue Mar 31 10:22:32 2009 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Tue Mar 31 10:22:32 2009 -0700 |
tree | a1337e312058581acada61502ccee9ff99c28f96 | |
parent | 5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a [diff] |
IPoIB: Avoid free_netdev() BUG when destroying a child interface We have to release the RTNL before calling free_netdev() so that the device state has a chance to become NETREG_UNREGISTERED. Otherwise when removing a child interface, we hit the BUG() that tests the device state in free_netdev(). Reported-by: Yossi Etigin <yosefe@voltaire.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>