svn commit: r276709 - projects/routing/sys/netinet6

Alexander V. Chernikov melifaro at FreeBSD.org
Mon Jan 5 16:10:55 UTC 2015


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:


More information about the svn-src-projects mailing list