commit | 4f0087812648b7611157ae22954acfaed820d24e | [log] [tgz] |
---|---|---|
author | Xin Long <lucien.xin@gmail.com> | Wed Dec 30 23:50:47 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 05 12:24:01 2016 -0500 |
tree | 51dfe36a54bdf7161e188c3818d6d046d4d66c08 | |
parent | d6c0256a60e685214cc8cc2b886809f11efc0084 [diff] |
sctp: apply rhashtable api to send/recv path apply lookup apis to two functions, for __sctp_endpoint_lookup_assoc and __sctp_lookup_association, it's invoked in the protection of sock lock, it will be safe, but sctp_lookup_association need to call rcu_read_lock() and to detect the t->dead to protect it. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>