Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 Fix nd6_output (if_output_lock conversion mistake)



details:   https://anonhg.NetBSD.org/src/rev/568ba3739d58
branches:  trunk
changeset: 816194:568ba3739d58
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Tue Jun 21 02:14:11 2016 +0000

description:
Fix nd6_output (if_output_lock conversion mistake)

diffstat:

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

diffs (27 lines):

diff -r b731495af241 -r 568ba3739d58 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Mon Jun 20 22:59:36 2016 +0000
+++ b/sys/netinet6/nd6.c        Tue Jun 21 02:14:11 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.c,v 1.196 2016/06/20 06:46:38 knakahara Exp $      */
+/*     $NetBSD: nd6.c,v 1.197 2016/06/21 02:14:11 ozaki-r Exp $        */
 /*     $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $   */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.196 2016/06/20 06:46:38 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.197 2016/06/21 02:14:11 ozaki-r Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -2292,7 +2292,7 @@
                LLE_WUNLOCK(ln);
 
        if ((ifp->if_flags & IFF_LOOPBACK) != 0)
-               error = if_output_lock(origifp, origifp, m, sin6tocsa(dst), rt);
+               error = if_output_lock(ifp, origifp, m, sin6tocsa(dst), rt);
        else
                error = if_output_lock(ifp, ifp, m, sin6tocsa(dst), rt);
        goto exit;



Home | Main Index | Thread Index | Old Index