git: wg: Simplify socket so_lock scope and init/uninit

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 15 00:28:04 PST 2024


commit 727c82f786b6640f2be7478c34e2f16f64fe5d4b
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Feb 3 13:28:53 2024 +0800

    wg: Simplify socket so_lock scope and init/uninit
    
    Move the init/uninit of the so_lock to wg_socket_init() and
    wg_socket_uninit() respectively, making its scope more clear.

Summary of changes:
 sys/net/wg/if_wg.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/727c82f786b6640f2be7478c34e2f16f64fe5d4b


-- 
DragonFly BSD source repository


More information about the Commits mailing list