mirror of
https://github.com/torvalds/linux.git
synced 2026-05-06 15:25:23 -04:00
The same fix in commit5ec7d18d18("sctp: use call_rcu to free endpoint") is also needed for dumping one asoc and sock after the lookup. Fixes:86fdb3448c("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>