diff options
author | lstewart <lstewart@FreeBSD.org> | 2010-11-20 08:40:37 +0000 |
---|---|---|
committer | lstewart <lstewart@FreeBSD.org> | 2010-11-20 08:40:37 +0000 |
commit | dc840543ff352c3c95a05e59ab5b08fb49994e1c (patch) | |
tree | 20b143fa4ecb18e97e1a45e8f611cadbe0142031 /sys/netinet/siftr.c | |
parent | 1f06c5de0debd265cae50275391a7f4e5bc78675 (diff) | |
download | FreeBSD-src-dc840543ff352c3c95a05e59ab5b08fb49994e1c.zip FreeBSD-src-dc840543ff352c3c95a05e59ab5b08fb49994e1c.tar.gz |
Fix a minor code redundancy nit.
MFC after: 3 days
Diffstat (limited to 'sys/netinet/siftr.c')
-rw-r--r-- | sys/netinet/siftr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c index 254bea8..79af9dc 100644 --- a/sys/netinet/siftr.c +++ b/sys/netinet/siftr.c @@ -736,14 +736,12 @@ siftr_findinpcb(int ipver, struct ip *ip, struct mbuf *m, uint16_t sport, 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); } |