From e5cf427bafb1cf50ffd8ff7edd3a2211bc097b14 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Wed, 9 Jul 2008 19:03:06 +0000 Subject: [PATCH] For consistency with the rest of the function use the locally cached pointer pcbinfo rather than inp->inp_pcbinfo. MFC after: 3 weeks --- sys/netinet/in_pcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c index a9702c5c4fa..4f9b0fa57e5 100644 --- a/sys/netinet/in_pcb.c +++ b/sys/netinet/in_pcb.c @@ -347,7 +347,7 @@ in_pcbbind_setup(struct inpcb *inp, struct sockaddr *nam, in_addr_t *laddrp, if (!IN_MULTICAST(ntohl(sin->sin_addr.s_addr)) && priv_check_cred(so->so_cred, PRIV_NETINET_REUSEPORT, 0) != 0) { - t = in_pcblookup_local(inp->inp_pcbinfo, + t = in_pcblookup_local(pcbinfo, sin->sin_addr, lport, prison ? 0 : INPLOOKUP_WILDCARD); /*