From: Eli Cohen Date: Tue, 15 Jul 2008 06:48:51 +0000 (-0700) Subject: IPoIB: Use rtnl lock/unlock when changing device flags X-Git-Tag: v2.6.27-rc1~1090^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c2afe360b7366f586f6bece1109a72ea334876;p=pandora-kernel.git IPoIB: Use rtnl lock/unlock when changing device flags Use of this lock is required to synchronize changes to the netdvice's data structs. Also move the call to ipoib_flush_paths() after the modification of the netdevice flags in set_mode(). Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed