From 4ede1798dbf32250b03b5535ae4619969686fa06 Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 25 Apr 2006 23:23:13 +0000 Subject: In in_pcbdrop(), fix !INVARIANTS build. --- sys/netinet/in_pcb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index 4fa5c6f..eecc196 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -737,9 +737,8 @@ in_pcbfree(struct inpcb *inp) void in_pcbdrop(struct inpcb *inp) { - struct inpcbinfo *pcbinfo = inp->inp_pcbinfo; - INP_INFO_WLOCK_ASSERT(pcbinfo); + INP_INFO_WLOCK_ASSERT(inp->inp_pcbinfo); INP_LOCK_ASSERT(inp); inp->inp_vflag |= INP_DROPPED; -- cgit v1.1