svn commit: r215929 - stable/7/sys/netinet
Lawrence Stewart
lstewart at FreeBSD.org
Sat Nov 27 03:46:32 UTC 2010
Author: lstewart
Date: Sat Nov 27 03:46:32 2010
New Revision: 215929
URL: http://svn.freebsd.org/changeset/base/215929
Log:
MFC r215553:
Fix a minor code redundancy nit.
Modified:
stable/7/sys/netinet/siftr.c
Directory Properties:
stable/7/sys/ (props changed)
stable/7/sys/cddl/contrib/opensolaris/ (props changed)
stable/7/sys/contrib/dev/acpica/ (props changed)
stable/7/sys/contrib/pf/ (props changed)
Modified: stable/7/sys/netinet/siftr.c
==============================================================================
--- stable/7/sys/netinet/siftr.c Sat Nov 27 03:23:40 2010 (r215928)
+++ stable/7/sys/netinet/siftr.c Sat Nov 27 03:46:32 2010 (r215929)
@@ -742,14 +742,12 @@ siftr_findinpcb(int ipver, struct ip *ip
ss->nskip_in_inpcb++;
else
ss->nskip_out_inpcb++;
-
- INP_INFO_RUNLOCK(&V_tcbinfo);
} else {
/* Acquire the inpcb lock. */
INP_UNLOCK_ASSERT(inp);
INP_RLOCK(inp);
- INP_INFO_RUNLOCK(&V_tcbinfo);
}
+ INP_INFO_RUNLOCK(&V_tcbinfo);
return (inp);
}
More information about the svn-src-stable-7
mailing list