git: if_tap: Add read-only sysctl net.link.tap.refcnt

Aaron LI aly at crater.dragonflybsd.org
Mon Jul 16 23:58:41 PDT 2018


commit f6efdc20c8dd2bfbdb1f8d88dd5154c4a1846131
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jul 8 10:05:31 2018 +0800

    if_tap: Add read-only sysctl net.link.tap.refcnt
    
    Expose the number of opened devices as a read-only sysctl:
    net.link.tap.refcnt.
    
    Improve the debug messages with respect to the refcnt.

Summary of changes:
 sys/net/tap/if_tap.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6efdc20c8dd2bfbdb1f8d88dd5154c4a1846131


-- 
DragonFly BSD source repository


More information about the Commits mailing list