netsec-ethz / scion-apps

Public repository for SCION applications
Apache License 2.0
20 stars 43 forks source link

pan: fix missing mutex in path refresher #215

Closed matzf closed 2 years ago

matzf commented 2 years ago

The subscribers map needs to be protected by a mutex, otherwise this map may be concurrently modified. To avoid overly long locks while refreshing, which would globally block dialing or closing connections, the lock is not held during the actual path query.


This change is Reviewable