diff options
author | Lawrence Stewart <lstewart@FreeBSD.org> | 2010-11-27 03:46:32 +0000 |
---|---|---|
committer | Lawrence Stewart <lstewart@FreeBSD.org> | 2010-11-27 03:46:32 +0000 |
commit | a40526ec06b08b2d662a556900f5de07e0e1ea80 (patch) | |
tree | afe7de17ac6470dae038f3fcb3a072037cf61ef5 /sys | |
parent | d2aa905bc8b70a35484ee0954dd108ce295429fd (diff) |
Notes
Diffstat (limited to 'sys')
-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 a371603d40149..182ca567fc767 100644 --- a/sys/netinet/siftr.c +++ b/sys/netinet/siftr.c @@ -742,14 +742,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); } |