From 2deed499826c709120e3ac85823991cb5f20ffee Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Mon, 18 Jun 2001 09:21:59 +0000 Subject: [PATCH] Remove the SI_CHEAPCLONE flag when hanging resources off the dev_t --- sys/net/if_tun.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 0a0b9ce49495..019499570014 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -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);