wg: Assert 'sc_lock' acquired before LK_EXCLUSIVE 'so_lock'
commit4b2460af64ed04cd59f990f645628adeeb6f443a
authorAaron LI <aly@aaronly.me>
Sat, 13 Jan 2024 08:49:41 +0000 (13 16:49 +0800)
committerAaron LI <aly@aaronly.me>
Thu, 8 Feb 2024 06:44:47 +0000 (8 14:44 +0800)
treef4b43ca3ba2dd4811f0e06066036d0084acb0aa8
parent45b0390634f117a9c31bec6a8c32efe88402b075
wg: Assert 'sc_lock' acquired before LK_EXCLUSIVE 'so_lock'

So it's not needed to acquire the 'so_lock' in order to access the
'sc_socket' members.  Comment this in wg_ioctl_get().
sys/net/wg/if_wg.c