git: wg: Don't acquire 'wg_lock' in wg_ioctl()

Aaron LI aly at crater.dragonflybsd.org
Thu Feb 8 00:32:33 PST 2024


commit 0464c50e554540dd89b055af536ed3263356da83
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jan 6 21:56:48 2024 +0800

    wg: Don't acquire 'wg_lock' in wg_ioctl()
    
    The ioctl() operation is already locked by the caller (interface layer),
    and the 'wg_lock' is only used to protect the 'wg_list' structure, so
    don't acquire this lock in wg_ioctl().

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0464c50e554540dd89b055af536ed3263356da83


-- 
DragonFly BSD source repository


More information about the Commits mailing list