summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2005-06-01 11:43:39 +0000
committerrwatson <rwatson@FreeBSD.org>2005-06-01 11:43:39 +0000
commitbe143d8ea5221bb7dd9e12b9d22f197034b26c30 (patch)
tree1f4eb0564bae5e914709fc0c23e078c98219cee1
parentad803f0089d7983f5523c77147035e438b652a5a (diff)
downloadFreeBSD-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
-rw-r--r--sys/netinet/in_pcb.c4
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)
OpenPOWER on IntegriCloud