DragonFly commits List (threaded) for 2009-08
DragonFly BSD
DragonFly commits List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: tap - Don't make_dev if dev already exists


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Aug 2009 02:04:30 -0700 (PDT)

commit 527e4a212528eb64553709ba0116c0b80968ec7e
Author: Alex Hornung <ahornung@gmail.com>
Date:   Sun Aug 30 18:44:30 2009 +0100

    tap - Don't make_dev if dev already exists
    
    * If the unit already exists when calling tap_clone_create,
    find the corresponding cdev by calling
    devfs_find_device_by_name.
    * If the unit doesn't exist, call make_dev.
    * Assert that dev != NULL before calling tapcreate()
    
    Dragonfly-bug: http://bugs.dragonflybsd.org/issue1453
    Reported-By: Rumko

Summary of changes:
 sys/net/tap/if_tap.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/527e4a212528eb64553709ba0116c0b80968ec7e


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]