From dbe3c5080611f5e2261caf0dd07ff6b0f244ba8d Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Mon, 30 May 2016 23:38:22 +0000 Subject: replace m_copym2 with m_dup_pkt. ok mpi@ --- sys/dev/pci/ubsec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci') 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; -- cgit v1.2.3