diff options
-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) |