diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-06-01 11:43:39 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-06-01 11:43:39 +0000 |
commit | be143d8ea5221bb7dd9e12b9d22f197034b26c30 (patch) | |
tree | 1f4eb0564bae5e914709fc0c23e078c98219cee1 /sys/netinet/in_pcb.c | |
parent | ad803f0089d7983f5523c77147035e438b652a5a (diff) | |
download | FreeBSD-src-be143d8ea5221bb7dd9e12b9d22f197034b26c30.zip FreeBSD-src-be143d8ea5221bb7dd9e12b9d22f197034b26c30.tar.gz |
Commit correct version of previous commit (in_pcb.c:1.164). Use the
local variables as currently named.
MFC after: 7 days
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r-- | sys/netinet/in_pcb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 89f9d5b..ed511fe 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -693,7 +693,7 @@ in_pcbdisconnect(inp) struct inpcb *inp; { - INP_INFO_WLOCK_ASSERT(pcbinfo); + INP_INFO_WLOCK_ASSERT(inp->inp_pcbinfo); INP_LOCK_ASSERT(inp); inp->inp_faddr.s_addr = INADDR_ANY; @@ -713,7 +713,7 @@ in_pcbdetach(inp) struct socket *so = inp->inp_socket; struct inpcbinfo *ipi = inp->inp_pcbinfo; - INP_INFO_WLOCK_ASSERT(pcbinfo); + INP_INFO_WLOCK_ASSERT(ipi); INP_LOCK_ASSERT(inp); #if defined(IPSEC) || defined(FAST_IPSEC) |