commit | 123ed979eaa8de0dd2422862d247469eda0bd645 | [log] [tgz] |
---|---|---|
author | Vlad Yasevich <vladislav.yasevich@hp.com> | Fri Nov 09 11:41:36 2007 -0500 |
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | Fri Nov 09 11:41:36 2007 -0500 |
tree | 745e6ff660cc401dd32e684f3651920e42150211 | |
parent | 027f6e1ad32de32f9fe1c61d0f744e329e8acfd9 [diff] |
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>