git: kernel - Do not auto-destroy tap interfaces which are manually created
Matthew Dillon
dillon at crater.dragonflybsd.org
Tue Feb 12 16:17:23 PST 2013
commit 74dd5e663f5503b86f45a58a9c0a6cb36c5503ba
Author: Matthew Dillon <dillon at 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
More information about the Commits
mailing list