artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3521466
)
sigh, another driver fiddling with altq outside #ifdef ALTQ
author
henning
<henning@openbsd.org>
Sat, 19 Apr 2014 14:47:51 +0000
(14:47 +0000)
committer
henning
<henning@openbsd.org>
Sat, 19 Apr 2014 14:47:51 +0000
(14:47 +0000)
sys/dev/pci/if_vr.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_vr.c
b/sys/dev/pci/if_vr.c
index
b2ed766
..
923664c
100644
(file)
--- a/
sys/dev/pci/if_vr.c
+++ b/
sys/dev/pci/if_vr.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_vr.c,v 1.13
2 2013/12/28 03:34:54 deraadt
Exp $ */
+/* $OpenBSD: if_vr.c,v 1.13
3 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++;