Eric Dumazet 6aaf47fa48 [PATCH] INET : IPV4 UDP lookups converted to a 2 pass algo
Some people want to have many UDP sockets, binded to a single port but
many different addresses. We currently hash all those sockets into a
single chain.  Processing of incoming packets is very expensive,
because the whole chain must be examined to find the best match.

I chose in this patch to hash UDP sockets with a hash function that
take into account both their port number and address : This has a
drawback because we need two lookups : one with a given address, one
with a wildcard (null) address.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-30 00:26:00 -07:00
..
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:29:24 -07:00
2007-04-25 22:30:04 -07:00
2007-04-25 22:29:24 -07:00
2007-04-26 00:57:41 -07:00
2007-04-26 00:57:41 -07:00
2007-04-25 22:29:24 -07:00
2007-04-28 21:20:32 -07:00
2005-04-16 15:20:36 -07:00