mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-15 22:41:38 +00:00
commitf9d31c4cf4upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>