summaryrefslogtreecommitdiffstats
path: root/net/sctp/protocol.c
diff options
context:
space:
mode:
authorVlad Yasevich <vladislav.yasevich@hp.com>2007-11-09 17:41:36 +0100
committerVlad Yasevich <vladislav.yasevich@hp.com>2007-11-09 17:41:36 +0100
commit123ed979eaa8de0dd2422862d247469eda0bd645 (patch)
tree745e6ff660cc401dd32e684f3651920e42150211 /net/sctp/protocol.c
parentSCTP: Fix a potential race between timers and receive path. (diff)
downloadlinux-123ed979eaa8de0dd2422862d247469eda0bd645.tar.xz
linux-123ed979eaa8de0dd2422862d247469eda0bd645.zip
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>
Diffstat (limited to 'net/sctp/protocol.c')
0 files changed, 0 insertions, 0 deletions