Remove the SI_CHEAPCLONE flag when hanging resources off the dev_t

This commit is contained in:
Brian Somers 2001-06-18 09:21:59 +00:00
parent e376b9ff16
commit 2deed49982
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78404

View file

@ -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);