diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-11-24 14:55:54 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-11-24 14:55:54 +0000 |
commit | cb8ce5328f7000010199caf6c2a681f71ca5c58b (patch) | |
tree | 8786de468207245c28fc20b5868f028661d96cc4 /sys/net/if_gif.c | |
parent | 99d62b77374b1f9c1aaab0ced6669c2116bdb0cb (diff) |
Remove the IFF_OACTIVE dance in gif_start this is not needed because start
functions will never ever be called in parallel. dlg@ concured
Diffstat (limited to 'sys/net/if_gif.c')
-rw-r--r-- | sys/net/if_gif.c | 8 |
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 |