Date: Thu, 18 Dec 2008 19:09:14 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186293 - head/sys/netinet6 Message-ID: <200812181909.mBIJ9Eef050066@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812181909.mBIJ9Eef050066>