git: if_tap: Return error instead of system panic

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


commit fba81a1c19f7e2d4ab3b6a9c9c74a3f99b21b5b5
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Jul 8 16:37:24 2018 +0800

    if_tap: Return error instead of system panic
    
    Return error when failed to create/find the device and to allocate
    the interface struct, instead of system panic.

Summary of changes:
 sys/net/tap/if_tap.c | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list