summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2014-04-19 14:47:52 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2014-04-19 14:47:52 +0000
commitaf4de6b3cd5dce0030276a7887582b2ec3b561e6 (patch)
treef841e466e4f4511dd1252e1211e6016a34cef2c4 /sys/dev/pci
parentad6af3effaad019c77cb50a5d36f2017db444b57 (diff)
sigh, another driver fiddling with altq outside #ifdef ALTQ
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_vr.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index b2ed7661bfb..923664c04e6 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.132 2013/12/28 03:34:54 deraadt Exp $ */
+/* $OpenBSD: if_vr.c,v 1.133 2014/04/19 14:47:51 henning Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1350,10 +1350,7 @@ vr_start(struct ifnet *ifp)
head_tx = cur_tx;
if (vr_encap(sc, &cur_tx, m_head)) {
/* Rollback, send what we were able to encap. */
- if (ALTQ_IS_ENABLED(&ifp->if_snd))
- m_freem(m_head);
- else
- IF_PREPEND(&ifp->if_snd, m_head);
+ IF_PREPEND(&ifp->if_snd, m_head);
break;
}
queued++;