[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130122.142352.297304738389100208.davem@davemloft.net>
Date: Tue, 22 Jan 2013 14:23:52 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: ja@....bg, netdev@...r.kernel.org
Subject: Re: [PATCH] ipv4: Fix route refcount on pmtu discovery
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Tue, 22 Jan 2013 11:01:28 +0100
> git commit 9cb3a50c (ipv4: Invalidate the socket cached route on
> pmtu events if possible) introduced a refcount problem. We don't
> get a refcount on the route if we get it from__sk_dst_get(), but
> we need one if we want to reuse this route because __sk_dst_set()
> releases the refcount of the old route. This patch adds proper
> refcount handling for that case. We introduce a 'new' flag to
> indicate that we are going to use a new route and we release the
> old route only if we replace it by a new one.
>
> Reported-by: Julian Anastasov <ja@....bg>
> Signed-off-by: Steffen Klassert <steffen.klassert@...unet.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists