summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/if_gif.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 2613104efa7..0869fb961df 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_gif.c,v 1.50 2008/09/28 16:14:39 jsing Exp $ */
+/* $OpenBSD: if_gif.c,v 1.51 2008/11/24 14:55:53 claudio Exp $ */
/* $KAME: if_gif.c,v 1.43 2001/02/20 08:51:07 itojun Exp $ */
/*
@@ -164,10 +164,6 @@ gif_start(struct ifnet *ifp)
#endif
return;
- s = splnet();
- ifp->if_flags |= IFF_OACTIVE;
- splx(s);
-
while (1) {
s = splnet();
IFQ_DEQUEUE(&ifp->if_snd, m);
@@ -255,8 +251,6 @@ gif_start(struct ifnet *ifp)
break;
}
}
-
- ifp->if_flags &= ~IFF_OACTIVE;
}
int