Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/netinet Pull up revision 1.73 (requested by is):



details:   https://anonhg.NetBSD.org/src/rev/6e50417763d0
branches:  netbsd-1-4
changeset: 470510:6e50417763d0
user:      he <he%NetBSD.org@localhost>
date:      Sun Apr 30 10:34:33 2000 +0000

description:
Pull up revision 1.73 (requested by is):
  Pass M_BCAST and M_MCAST flags to fragments.  Fixes PR#9772.

diffstat:

 sys/netinet/ip_output.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 2e185a37aa87 -r 6e50417763d0 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Sun Apr 30 10:31:51 2000 +0000
+++ b/sys/netinet/ip_output.c   Sun Apr 30 10:34:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.58.2.2 1999/12/20 15:48:26 he Exp $    */
+/*     $NetBSD: ip_output.c,v 1.58.2.3 2000/04/30 10:34:33 he Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -419,6 +419,8 @@
                m->m_data += max_linkhdr;
                mhip = mtod(m, struct ip *);
                *mhip = *ip;
+               /* we must inherit MCAST and BCAST flags */
+               m->m_flags |= m0->m_flags & (M_MCAST|M_BCAST);
                if (hlen > sizeof (struct ip)) {
                        mhlen = ip_optcopy(ip, mhip) + sizeof (struct ip);
                        mhip->ip_hl = mhlen >> 2;



Home | Main Index | Thread Index | Old Index