Re: use fast lookup in in6_pcbconnect()

2016-03-26 Thread Alexander Bluhm
On Wed, Mar 23, 2016 at 06:22:36PM +0100, Vincent Gross wrote: > The current use of in_pcblookup() in in6_pcbconnect() is suboptimal : > all of the addresses and ports are defined, we are only interested in > exact matches, and its v4 cousin in_pcbconnect() already uses > in_pcbhashlookup(). > >

use fast lookup in in6_pcbconnect()

2016-03-23 Thread Vincent Gross
The current use of in_pcblookup() in in6_pcbconnect() is suboptimal : all of the addresses and ports are defined, we are only interested in exact matches, and its v4 cousin in_pcbconnect() already uses in_pcbhashlookup(). Ok ? Index: sys/netinet6/in6_pcb.c