summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2012-09-30 12:11:51 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2012-09-30 12:11:51 +0000
commit2886267b41781966763889aea9be00c84a6be13a (patch)
treedb95376fb98ac7b4d63c3c66a0af9fed279c1c8d /sys/net
parentbabc159c7e48e0f357924b0838587f7baf3e62d4 (diff)
There is no need to set IFF_OACTIVE in vlan, since there is no DMA ring
that can be filled. OK dlg@, mikeb@
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_vlan.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 5ae0280ff7a..c0595c6cf59 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vlan.c,v 1.92 2012/09/19 15:29:53 henning Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.93 2012/09/30 12:11:50 claudio Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
@@ -196,7 +196,6 @@ vlan_start(struct ifnet *ifp)
ifv = ifp->if_softc;
p = ifv->ifv_p;
- ifp->if_flags |= IFF_OACTIVE;
for (;;) {
IFQ_DEQUEUE(&ifp->if_snd, m);
if (m == NULL)
@@ -263,7 +262,6 @@ vlan_start(struct ifnet *ifp)
ifp->if_opackets++;
if_start(p);
}
- ifp->if_flags &= ~IFF_OACTIVE;
return;
}