git: if_tun: Add "cdev_t tun_dev" to tun_softc struct

Aaron LI aly at crater.dragonflybsd.org
Thu Jul 19 01:15:17 PDT 2018


commit 860e305a4e6cc899b09479646ac55eaca5b142f1
Author: Aaron LI <aly at aaronly.me>
Date:   Sat Jul 7 23:21:18 2018 +0800

    if_tun: Add "cdev_t tun_dev" to tun_softc struct
    
    Similar to if_tap, save the tun device in the tun_softc struct.

Summary of changes:
 sys/net/tun/if_tun.c    | 3 +++
 sys/net/tun/if_tunvar.h | 2 ++
 2 files changed, 5 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/860e305a4e6cc899b09479646ac55eaca5b142f1


-- 
DragonFly BSD source repository



More information about the Commits mailing list