From 3ddeb82e5920fb4ce16a363a4cdf2ff420fc6f8c Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Wed, 28 Mar 2001 20:03:10 +0000 Subject: Allow tdbi's to appear in mbufs throughout the stack; this allows security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs. --- sys/kern/uipc_mbuf2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/kern/uipc_mbuf2.c') diff --git a/sys/kern/uipc_mbuf2.c b/sys/kern/uipc_mbuf2.c index 2725dc389bc..d1b437b5944 100644 --- a/sys/kern/uipc_mbuf2.c +++ b/sys/kern/uipc_mbuf2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf2.c,v 1.5 2001/02/14 17:04:34 itojun Exp $ */ +/* $OpenBSD: uipc_mbuf2.c,v 1.6 2001/03/28 20:03:00 angelos Exp $ */ /* $KAME: uipc_mbuf2.c,v 1.29 2001/02/14 13:42:10 itojun Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $ */ @@ -261,7 +261,7 @@ m_dup1(m, off, len, wait) return NULL; if (copyhdr) - M_COPY_PKTHDR(n, m); + M_DUP_PKTHDR(n, m); m_copydata(m, off, len, mtod(n, caddr_t)); return n; } -- cgit v1.2.3