diff options
author | Roland Dreier <rolandd@cisco.com> | 2009-03-31 10:22:32 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2009-03-31 10:22:32 -0700 |
commit | edb5abb1e2a84fd8802a3577d95eac84fe1405ab (patch) | |
tree | a1337e312058581acada61502ccee9ff99c28f96 /mm/filemap.c | |
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>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions