mirror of
https://github.com/ceph/ceph
synced 2025-01-20 10:01:45 +00:00
Merge PR #31995 into master
* refs/pull/31995/head: msg/async: No need lock for func _filter_addrs Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
commit
1542776e44
@ -691,10 +691,8 @@ ConnectionRef AsyncMessenger::connect_to(int type,
|
||||
}
|
||||
}
|
||||
|
||||
std::lock_guard l{lock};
|
||||
|
||||
auto av = _filter_addrs(addrs);
|
||||
|
||||
std::lock_guard l{lock};
|
||||
if (anon) {
|
||||
return create_connect(av, type, anon);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user