diff options
| author | Jeffrey Hsu <hsu@FreeBSD.org> | 2002-06-13 23:14:58 +0000 |
|---|---|---|
| committer | Jeffrey Hsu <hsu@FreeBSD.org> | 2002-06-13 23:14:58 +0000 |
| commit | 9c68f33a9d99a1076120cbd8a94421d9d91caa99 (patch) | |
| tree | 5d7a1fbc06b2403273fd4620c50d38fa95474a29 | |
| parent | 1bde53c130ed1ba7437174076ed1ed8c1d6bfa10 (diff) | |
Notes
| -rw-r--r-- | sys/netinet/tcp_usrreq.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index f5e75d1de613..9c4b547767cf 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -141,12 +141,9 @@ tcp_usr_attach(struct socket *so, int proto, struct thread *td) so->so_linger = TCP_LINGERTIME; inp = sotoinpcb(so); - INP_LOCK(inp); tp = intotcpcb(inp); out: TCPDEBUG2(PRU_ATTACH); - if (tp) - INP_UNLOCK(inp); INP_INFO_WUNLOCK(&tcbinfo); splx(s); return error; |
