summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorEli Cohen <eli@mellanox.co.il>2008-07-14 23:48:51 -0700
committerRoland Dreier <rolandd@cisco.com>2008-07-14 23:48:51 -0700
commitc8c2afe360b7366f586f6bece1109a72ea334876 (patch)
treec132fc0580deebde3dc49c59bac9c4a559aef192 /ipc
parent9eae554c171e086c89ab83da2a2d3c8bf958fcb5 (diff)
downloadlinux-3.10-c8c2afe360b7366f586f6bece1109a72ea334876.tar.gz
linux-3.10-c8c2afe360b7366f586f6bece1109a72ea334876.tar.bz2
linux-3.10-c8c2afe360b7366f586f6bece1109a72ea334876.zip
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 <eli@mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions