Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/netinet6 Pull up following revision(s) (requested by ...



details:   https://anonhg.NetBSD.org/src/rev/8f6e0f8d1d1f
branches:  netbsd-8
changeset: 435003:8f6e0f8d1d1f
user:      martin <martin%NetBSD.org@localhost>
date:      Tue May 22 17:41:12 2018 +0000

description:
Pull up following revision(s) (requested by maxv in ticket #830):

        sys/netinet6/nd6_rtr.c: revision 1.142

Add missing m_put_rcvif_psref.

diffstat:

 sys/netinet6/nd6_rtr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 19dc5d073e3b -r 8f6e0f8d1d1f sys/netinet6/nd6_rtr.c
--- a/sys/netinet6/nd6_rtr.c    Thu May 17 14:08:18 2018 +0000
+++ b/sys/netinet6/nd6_rtr.c    Tue May 22 17:41:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6_rtr.c,v 1.135.6.2 2018/02/05 14:55:15 martin Exp $ */
+/*     $NetBSD: nd6_rtr.c,v 1.135.6.3 2018/05/22 17:41:12 martin Exp $ */
 /*     $KAME: nd6_rtr.c,v 1.95 2001/02/07 08:09:47 itojun Exp $        */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.135.6.2 2018/02/05 14:55:15 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6_rtr.c,v 1.135.6.3 2018/05/22 17:41:12 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -179,6 +179,7 @@
        IP6_EXTHDR_GET(nd_rs, struct nd_router_solicit *, m, off, icmp6len);
        if (nd_rs == NULL) {
                ICMP6_STATINC(ICMP6_STAT_TOOSHORT);
+               m_put_rcvif_psref(ifp, &psref);
                return;
        }
 



Home | Main Index | Thread Index | Old Index