Update freebsd/netinet/in_pcb.c

BSD's socket can bind the address not belong to local ports, this works well when using as transparent proxy. If fstack check the ip and port whenever new connect, tranparent proxy is not supported.
When using specified local port, it is app's responsibility to make 5-tuple rss hash good.
dev
10077240 2018-10-10 07:48:32 +08:00
parent da6f05a68c
commit 7eeb1e1c00
1 changed files with 1 additions and 0 deletions

View File

@ -1114,6 +1114,7 @@ in_pcbconnect_setup(struct inpcb *inp, struct sockaddr *nam,
return (error);
}
#else
if (lport == 0)
{
struct ifaddr *ifa;
struct ifnet *ifp;