diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2007-04-30 09:26:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-04-30 09:26:00 +0200 |
commit | 6aaf47fa48d3c44280810b1b470261d340e4ed87 (patch) | |
tree | ee59c6bd3ee482ef85a7b65f057beff4f4598b9b /COPYING | |
parent | [L2TP]: Add the ability to autoload a pppox protocol module. (diff) | |
download | linux-6aaf47fa48d3c44280810b1b470261d340e4ed87.tar.xz linux-6aaf47fa48d3c44280810b1b470261d340e4ed87.zip |
[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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions