summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-04-25 06:03:47 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-04-25 06:03:47 +0000
commit0853d7433ec3b1b6a641ff3c6fc2d73cbe3b3603 (patch)
tree1babaa3f6180b84329e7d6e74b67d32e5507112c /sys/dev/pci
parent0de6bc7c8618cb4744d4710b3aa37d481b01cbcb (diff)
if we have to allocate a new mbuf, don't forget to copy the header info from
the original packet.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/hifn7751.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index e231ceb3f46..4ed153ef1be 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.36 2000/04/25 05:32:21 jason Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.37 2000/04/25 06:03:46 jason Exp $ */
/*
* Invertex AEON / Hi/fn 7751 driver
@@ -778,6 +778,7 @@ hifn_crypto(sc, cmd)
totlen = cmd->dst_l = cmd->src_l;
MGETHDR(m, M_DONTWAIT, MT_DATA);
+ M_COPY_PKTHDR(m, cmd->src_m);
if (m == NULL)
return (-1);
len = MHLEN;