From: Tommi Rantala <tommi.t.rant...@nokia.com> Date: Mon, 5 Feb 2018 21:48:14 +0200
> Fix dst reference count leak in sctp_v4_get_dst() introduced in commit > 410f03831 ("sctp: add routing output fallback"): > > When walking the address_list, successive ip_route_output_key() calls > may return the same rt->dst with the reference incremented on each call. > > The code would not decrement the dst refcount when the dst pointer was > identical from the previous iteration, causing the dst refcnt leak. ... > Fixes: 410f03831 ("sctp: add routing output fallback") > Fixes: 0ca50d12f ("sctp: fix src address selection if using secondary > addresses") > Signed-off-by: Tommi Rantala <tommi.t.rant...@nokia.com> Applied and queued up for -stable, thanks.