aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ni5010.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 /drivers/net/ni5010.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 'drivers/net/ni5010.c')
0 files changed, 0 insertions, 0 deletions