summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-04-29 08:44:14 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-04-29 08:44:14 +0000
commitd82f117a3763eaf7a19b799a01d5c641b6c39127 (patch)
treeb18d75bfe21b04d94331495bfb01b449703416d0 /sys/dev/pci
parent9783ec1446970c3eed08027a01f75b6e0b8b00c0 (diff)
when completing a tx pkt, put it back on the tx free list, not the rx one.
found by Nadav Shemer at Tehuti Networks.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_tht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c
index 83aeba7d1ab..b6e4148678c 100644
--- a/sys/dev/pci/if_tht.c
+++ b/sys/dev/pci/if_tht.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tht.c,v 1.80 2007/04/27 21:42:40 cloder Exp $ */
+/* $OpenBSD: if_tht.c,v 1.81 2007/04/29 08:44:13 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -1151,7 +1151,7 @@ tht_txf(struct tht_softc *sc)
m_freem(pkt->tp_m);
- tht_pkt_put(&sc->sc_rx_list, pkt);
+ tht_pkt_put(&sc->sc_tx_list, pkt);
} while (sc->sc_txf.tf_ready >= sizeof(txf));