diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2016-05-30 23:38:22 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2016-05-30 23:38:22 +0000 |
commit | dbe3c5080611f5e2261caf0dd07ff6b0f244ba8d (patch) | |
tree | 3ce276f4fc14ba989d5cc93247228b3ef56336ae /sys/dev/pci | |
parent | e9a7d006cff286796f7a7c27bb03d5b938fe8193 (diff) |
replace m_copym2 with m_dup_pkt.
ok mpi@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/ubsec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c index a54257c0623..cbefa8576ca 100644 --- a/sys/dev/pci/ubsec.c +++ b/sys/dev/pci/ubsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsec.c,v 1.161 2015/12/10 21:00:51 naddy Exp $ */ +/* $OpenBSD: ubsec.c,v 1.162 2016/05/30 23:38:21 dlg Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -1104,7 +1104,7 @@ ubsec_process(struct cryptop *crp) q->q_dst_m = q->q_src_m; q->q_dst_map = q->q_src_map; } else { - q->q_dst_m = m_copym2(q->q_src_m, 0, M_COPYALL, + q->q_dst_m = m_dup_pkt(q->q_src_m, 0, M_NOWAIT); if (q->q_dst_m == NULL) { err = ENOMEM; |