mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-28 20:55:21 +00:00
Remove the SI_CHEAPCLONE flag when hanging resources off the dev_t
This commit is contained in:
parent
e376b9ff16
commit
2deed49982
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78404
|
@ -275,6 +275,8 @@ tunopen(dev_t dev, int flag, int mode, struct proc *p)
|
|||
if (r == NULL)
|
||||
return (EBUSY);
|
||||
|
||||
dev->si_flags &= ~SI_CHEAPCLONE;
|
||||
|
||||
tp = dev->si_drv1;
|
||||
if (!tp) {
|
||||
tuncreate(dev);
|
||||
|
|
Loading…
Reference in a new issue