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

git: kernel - Do not auto-destroy tap interfaces which are manually created


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2013 16:17:23 -0800 (PST)

commit 74dd5e663f5503b86f45a58a9c0a6cb36c5503ba
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Feb 12 16:11:08 2013 -0800

    kernel - Do not auto-destroy tap interfaces which are manually created
    
    * When a tap interface is created via 'ifconfig tapN create' it
      will no longer be automatically destroyed on the last close.
    
    * Previously could occur for tap units 4 or larger.
    
    * Fixes unexpected ripouts of manually created interfaces, which
      can be particularly bad when the interface is used in a PF rule.

Summary of changes:
 sys/net/tap/if_tap.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/74dd5e663f5503b86f45a58a9c0a6cb36c5503ba


-- 
DragonFly BSD source repository



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