git: if_wg: Simplify BPF tap code

Aaron LI aly at crater.dragonflybsd.org
Thu Oct 15 17:57:28 PDT 2026


commit 92521434c6f92d96220fedbf6c2e959cca35bd7b
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Oct 15 10:33:44 2026 +0800

    if_wg: Simplify BPF tap code
    
    bpf_ptap() handles the bpf_gettoken() internally, so remove the
    wg_bpf_ptap() helper and simplify the code.

Summary of changes:
 sys/net/wg/if_wg.c | 30 +++++++++---------------------
 1 file changed, 9 insertions(+), 21 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92521434c6f92d96220fedbf6c2e959cca35bd7b


-- 
DragonFly BSD source repository


More information about the Commits mailing list