From: Roland Dreier Date: Tue, 31 Mar 2009 17:22:32 +0000 (-0700) Subject: IPoIB: Avoid free_netdev() BUG when destroying a child interface X-Git-Tag: v2.6.30-rc2~92^2^3~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb5abb1e2a84fd8802a3577d95eac84fe1405ab;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed