diff options
author | Xin Long <lucien.xin@gmail.com> | 2021-12-31 18:37:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-02 12:46:41 +0000 |
commit | f9d31c4cf4c11ff10317f038b9c6f7c3bda6cdd4 (patch) | |
tree | b9773cb8cf506bcab4f94014afbb12becbe18e76 /drivers | |
parent | 5b40d10b604280a5bdf355b9d47ed238c92233dd (diff) |
sctp: hold endpoint before calling cb in sctp_transport_lookup_process
The same fix in commit 5ec7d18d1813 ("sctp: use call_rcu to free endpoint")
is also needed for dumping one asoc and sock after the lookup.
Fixes: 86fdb3448cc1 ("sctp: ensure ep is not destroyed before doing the dump")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions