Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2015 16:10:55 +0000 (UTC)
From:      "Alexander V. Chernikov" <melifaro@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r276709 - projects/routing/sys/netinet6
Message-ID:  <201501051610.t05GAt6b095492@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: melifaro
Date: Mon Jan  5 16:10:54 2015
New Revision: 276709
URL: https://svnweb.freebsd.org/changeset/base/276709

Log:
  Do not call LLE_WUNLOCK() for deleted lle.

Modified:
  projects/routing/sys/netinet6/nd6.c

Modified: projects/routing/sys/netinet6/nd6.c
==============================================================================
--- projects/routing/sys/netinet6/nd6.c	Mon Jan  5 16:10:50 2015	(r276708)
+++ projects/routing/sys/netinet6/nd6.c	Mon Jan  5 16:10:54 2015	(r276709)
@@ -592,8 +592,8 @@ nd6_llinfo_timer(void *arg)
 			EVENTHANDLER_INVOKE(lle_event, ln, LLENTRY_EXPIRED);
 			nd6_free(ln, 1);
 			ln = NULL;
-		}
-		LLE_WUNLOCK(ln);
+		} else
+			LLE_WUNLOCK(ln);
 		break;
 
 	case ND6_LLINFO_DELAY:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501051610.t05GAt6b095492>