diff options
author | 2001-05-25 22:09:44 +0000 | |
---|---|---|
committer | 2001-05-25 22:09:44 +0000 | |
commit | d6da1629edcc23829f014d58083192644bc596c7 (patch) | |
tree | 4350e7dea2c34ab34f52b92e1e61ae2c737e480a | |
parent | recover old acecept(2) behavior (no ECONNABORTED) for unix domain socket. (diff) | |
download | wireguard-openbsd-d6da1629edcc23829f014d58083192644bc596c7.tar.xz wireguard-openbsd-d6da1629edcc23829f014d58083192644bc596c7.zip |
Initialize tag when duplicating header.
-rw-r--r-- | sys/sys/mbuf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index b06ba5f2cdc..21be810c3e6 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mbuf.h,v 1.32 2001/05/24 18:53:46 angelos Exp $ */ +/* $OpenBSD: mbuf.h,v 1.33 2001/05/25 22:09:44 angelos Exp $ */ /* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */ /* @@ -412,6 +412,7 @@ void _sk_mclget(struct mbuf *, int); */ #define M_DUP_HDR(to, from) { \ M_COPY_HDR((to), (from)); \ + TAILQ_INIT(&(to)->m_pkthdr.tags); \ m_tag_copy_chain((to), (from)); \ } |