svn commit: r186293 - head/sys/netinet6
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Dec 18 19:09:15 UTC 2008
Author: bz
Date: Thu Dec 18 19:09:14 2008
New Revision: 186293
URL: http://svn.freebsd.org/changeset/base/186293
Log:
Only unlock the llentry if it is actually valid.
Reported by: ed
Modified:
head/sys/netinet6/ip6_input.c
Modified: head/sys/netinet6/ip6_input.c
==============================================================================
--- head/sys/netinet6/ip6_input.c Thu Dec 18 19:08:19 2008 (r186292)
+++ head/sys/netinet6/ip6_input.c Thu Dec 18 19:09:14 2008 (r186293)
@@ -567,7 +567,8 @@ passin:
LLE_RUNLOCK(lle);
goto hbhcheck;
}
- LLE_RUNLOCK(lle);
+ if (lle != NULL)
+ LLE_RUNLOCK(lle);
if (V_ip6_forward_rt.ro_rt != NULL &&
(V_ip6_forward_rt.ro_rt->rt_flags & RTF_UP) != 0 &&
More information about the svn-src-head
mailing list