mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Make if_tun's clone create SI_CHEAPCLONE devices.
This commit is contained in:
parent
9210280057
commit
d951f85b28
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=77178
@ -107,6 +107,7 @@ tun_clone(arg, name, namelen, dev)
|
||||
return;
|
||||
*dev = make_dev(&tun_cdevsw, unit2minor(u),
|
||||
UID_ROOT, GID_WHEEL, 0600, "tun%d", u);
|
||||
(*dev)->si_flags |= SI_CHEAPCLONE;
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user