For consistency with the rest of the function use the locally cached
pointer pcbinfo rather than inp->inp_pcbinfo. MFC after: 3 weeks
This commit is contained in:
parent
7e06585752
commit
e5cf427baf
@ -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);
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user