diff options
author | 2014-02-05 15:12:59 +0200 | |
---|---|---|
committer | 2014-02-13 14:31:08 -0800 | |
commit | 4ce5a5744a2f5479e58c6788cbe3987b8071b62e (patch) | |
tree | 0961920538c9cfd956e2c62ff408f78bfa14738f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | IB/mlx4: Make sure GID index 0 is always occupied (diff) | |
download | linux-dev-4ce5a5744a2f5479e58c6788cbe3987b8071b62e.tar.xz linux-dev-4ce5a5744a2f5479e58c6788cbe3987b8071b62e.zip |
IB/mlx4: Move rtnl locking to the right place
On the one hand, the invocation of netdev_master_upper_dev_get()
within mlx4_ib_scan_netdevs() must be done with rtnl lock held. On
the other hand, it's wrong to call rtnl_lock() from within this
function since it's also called by our netdev notifier callback.
Therefore move the locking to mlx4_ib_add() so that both cases are
covered.
Signed-off-by: Moni Shoua <monis@mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions