summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-07-09 19:03:06 +0000
committerbz <bz@FreeBSD.org>2008-07-09 19:03:06 +0000
commitc5f93d56cc733f3e3a0440190a2c50509814c10f (patch)
tree3741723daeffae5136252e8bc57cfe1c6a29432c /sys/netinet
parentee5ac1d2dd7a0f0f679b251d68c6357dc8031e10 (diff)
downloadFreeBSD-src-c5f93d56cc733f3e3a0440190a2c50509814c10f.zip
FreeBSD-src-c5f93d56cc733f3e3a0440190a2c50509814c10f.tar.gz
For consistency with the rest of the function use the locally cached
pointer pcbinfo rather than inp->inp_pcbinfo. MFC after: 3 weeks
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/in_pcb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index a9702c5..4f9b0fa 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);
/*
OpenPOWER on IntegriCloud