]> git.baikalelectronics.ru Git - kernel.git/commit
SCTP: Use hashed lookup when looking for an association.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 9 Nov 2007 16:41:36 +0000 (11:41 -0500)
committerVlad Yasevich <vladislav.yasevich@hp.com>
Fri, 9 Nov 2007 16:41:36 +0000 (11:41 -0500)
commitfc2dee32aa414ad59ba617987a3e6e309c37532d
tree745e6ff660cc401dd32e684f3651920e42150211
parent4eb53275aa58bbd466f4238d2931339e256afe24
SCTP: Use hashed lookup when looking for an association.

A SCTP endpoint may have a lot of associations on them and walking
the list is fairly inefficient.  Instead, use a hashed lookup,
and filter out the hash list based on the endopoing we already have.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
net/sctp/endpointola.c