Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet Copy more mbuf flags.
details: https://anonhg.NetBSD.org/src/rev/be263d5515fa
branches: trunk
changeset: 319529:be263d5515fa
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Jun 02 11:56:57 2018 +0000
description:
Copy more mbuf flags.
diffstat:
sys/netinet/ip_output.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 511a8e641016 -r be263d5515fa sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c Sat Jun 02 09:45:56 2018 +0000
+++ b/sys/netinet/ip_output.c Sat Jun 02 11:56:57 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_output.c,v 1.305 2018/05/29 17:21:57 maxv Exp $ */
+/* $NetBSD: ip_output.c,v 1.306 2018/06/02 11:56:57 maxv Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.305 2018/05/29 17:21:57 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.306 2018/06/02 11:56:57 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -863,8 +863,8 @@
mhip = mtod(m, struct ip *);
*mhip = *ip;
- /* we must inherit MCAST and BCAST flags */
- m->m_flags |= m0->m_flags & (M_MCAST|M_BCAST);
+ /* we must inherit the flags */
+ m->m_flags |= m0->m_flags & M_COPYFLAGS;
if (hlen > sizeof(struct ip)) {
mhlen = ip_optcopy(ip, mhip) + sizeof(struct ip);
Home |
Main Index |
Thread Index |
Old Index