git: wg: Port #12: remove unsupported vnet code and use if_clone only

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


commit 3b7831f622515479f98d08b9adfa94744852f414
Author: Aaron LI <aly at aaronly.me>
Date:   Wed Oct 11 09:13:31 2023 +0800

    wg: Port #12: remove unsupported vnet code and use if_clone only
    
    In addition, change the module unloading logic a bit: prevent from
    unloading and return the EBUSY error if the module is still in use.

Summary of changes:
 sys/net/wg/if_wg.c     | 90 ++++++++++++++++----------------------------------
 sys/net/wg/wg_cookie.c | 13 ++++----
 sys/net/wg/wg_cookie.h |  5 +--
 3 files changed, 35 insertions(+), 73 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b7831f622515479f98d08b9adfa94744852f414


-- 
DragonFly BSD source repository


More information about the Commits mailing list