summaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-03-31 10:22:32 -0700
committerRoland Dreier <rolandd@cisco.com>2009-03-31 10:22:32 -0700
commitedb5abb1e2a84fd8802a3577d95eac84fe1405ab (patch)
treea1337e312058581acada61502ccee9ff99c28f96 /mm/mm_init.c
parent5d80f8e5a9dc9c9a94d4aeaa567e219a808b8a4a (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/mm_init.c')
0 files changed, 0 insertions, 0 deletions