Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/netinet6 Pull up revision 1.36 via patch (requested...



details:   https://anonhg.NetBSD.org/src/rev/cc95b78edae4
branches:  netbsd-1-6
changeset: 528645:cc95b78edae4
user:      lukem <lukem%NetBSD.org@localhost>
date:      Mon Jul 29 15:42:22 2002 +0000

description:
Pull up revision 1.36 via patch (requested by itojun in ticket #543):
correct multicast packet MTU check.  sync w/kame

diffstat:

 sys/netinet6/ip6_mroute.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6aebe6869119 -r cc95b78edae4 sys/netinet6/ip6_mroute.c
--- a/sys/netinet6/ip6_mroute.c Mon Jul 29 15:39:29 2002 +0000
+++ b/sys/netinet6/ip6_mroute.c Mon Jul 29 15:42:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_mroute.c,v 1.28 2002/05/14 02:58:33 matt Exp $     */
+/*     $NetBSD: ip6_mroute.c,v 1.28.4.1 2002/07/29 15:42:22 lukem Exp $        */
 /*     $KAME: ip6_mroute.c,v 1.49 2001/07/25 09:21:18 jinmei Exp $     */
 
 /*
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.28 2002/05/14 02:58:33 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_mroute.c,v 1.28.4.1 2002/07/29 15:42:22 lukem Exp $");
 
 #include "opt_inet.h"
 
@@ -1475,7 +1475,7 @@
         * Put the packet into the sending queue of the outgoing interface
         * if it would fit in the MTU of the interface.
         */
-       if (mb_copy->m_pkthdr.len < ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
+       if (mb_copy->m_pkthdr.len <= ifp->if_mtu || ifp->if_mtu < IPV6_MMTU) {
                dst6->sin6_len = sizeof(struct sockaddr_in6);
                dst6->sin6_family = AF_INET6;
                dst6->sin6_addr = ip6->ip6_dst;



Home | Main Index | Thread Index | Old Index