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

看板DFBSD_commit作者時間16年前 (2009/08/31 17:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AcvYO2U (DFBSD_commit)