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

Alexander V. Chernikov melifaro at FreeBSD.org
Fri Nov 21 23:37:15 UTC 2014


Author: melifaro
Date: Fri Nov 21 23:37:14 2014
New Revision: 274831
URL: https://svnweb.freebsd.org/changeset/base/274831

Log:
  Another r274774 fix.

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

Modified: projects/routing/sys/netinet6/in6.c
==============================================================================
--- projects/routing/sys/netinet6/in6.c	Fri Nov 21 23:36:21 2014	(r274830)
+++ projects/routing/sys/netinet6/in6.c	Fri Nov 21 23:37:14 2014	(r274831)
@@ -2181,10 +2181,9 @@ in6_lltable_delete(struct lltable *llt, 
 	const struct sockaddr *l3addr)
 {
 	const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)l3addr;
-	struct ifnet *ifp = llt->llt_ifp;
 	struct llentry *lle;
 
-	IF_AFDATA_LOCK_ASSERT(ifp);
+	IF_AFDATA_LOCK_ASSERT(llt->llt_ifp);
 	KASSERT(l3addr->sa_family == AF_INET6,
 	    ("sin_family %d", l3addr->sa_family));
 
@@ -2288,10 +2287,9 @@ in6_lltable_lookup(struct lltable *llt, 
 	const struct sockaddr *l3addr)
 {
 	const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)l3addr;
-	struct ifnet *ifp = llt->llt_ifp;
 	struct llentry *lle;
 
-	IF_AFDATA_LOCK_ASSERT(ifp);
+	IF_AFDATA_LOCK_ASSERT(llt->llt_ifp);
 	KASSERT(l3addr->sa_family == AF_INET6,
 	    ("sin_family %d", l3addr->sa_family));
 


More information about the svn-src-projects mailing list