commit e877c31aa0323042d42074a30915e5c04b7e7bac
Author: Aaron LI <[email protected]>
Date: Sat Jun 27 20:05:33 2020 +0800
tun/tap: Return EEXIST in clone creation if softc found
With the old logic, an existing softc (e.g., created by cloning via
autoclone device) may be used and then be modified later, which should
be better avoided.
Summary of changes:
sys/net/tap/if_tap.c | 26 +++++++++++++-------------
sys/net/tun/if_tun.c | 26 +++++++++++++-------------
2 files changed, 26 insertions(+), 26 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e877c31aa0323042d42074a30915e5c04b7e7bac
--
DragonFly BSD source repository