diff options
author | Xin Long <lucien.xin@gmail.com> | 2016-01-16 15:17:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-18 03:11:44 +0300 |
commit | dd7445ad6be3809565272b0e724f2f00c2de1989 (patch) | |
tree | 2362c43a03fcaa7981fd19b41c1c9bc86e02d5fc /net/l2tp | |
parent | 0b6e26ce89391327d955a756a7823272238eb867 (diff) | |
download | linux-dd7445ad6be3809565272b0e724f2f00c2de1989.tar.xz |
sctp: the temp asoc's transports should not be hashed/unhashed
Re-establish the previous behavior and avoid hashing temporary asocs by
checking t->asoc->temp in sctp_(un)hash_transport. Also, remove the
check of t->asoc->temp in __sctp_lookup_association, since they are
never hashed now.
Fixes: 4f0087812648 ("sctp: apply rhashtable api to send/recv path")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Reported-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions