From: Eric Dumazet Date: Tue, 1 Jun 2010 10:04:49 +0000 (+0000) Subject: xfrm: force a dst reference in __xfrm_route_forward() X-Git-Tag: v2.6.35-rc2~4^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fafeeb6c80e3842c6dc19d05de09a23f23eef0d8;p=pandora-kernel.git xfrm: force a dst reference in __xfrm_route_forward() Packets going through __xfrm_route_forward() have a not refcounted dst entry, since we enabled a noref forwarding path. xfrm_lookup() might incorrectly release this dst entry. It's a bit late to make invasive changes in xfrm_lookup(), so lets force a refcount in this path. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed