From: Steffen Klassert Date: Tue, 15 Mar 2011 21:08:28 +0000 (+0000) Subject: xfrm: Force a dst refcount before entering the xfrm type handlers X-Git-Tag: v2.6.39-rc1~9^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bc07321ccc236f693ce1b6a8786f0a2e38bb87e;p=pandora-kernel.git xfrm: Force a dst refcount before entering the xfrm type handlers Crypto requests might return asynchronous. In this case we leave the rcu protected region, so force a refcount on the skb's destination entry before we enter the xfrm type input/output handlers. This fixes a crash when a route is deleted whilst sending IPsec data that is transformed by an asynchronous algorithm. Signed-off-by: Steffen Klassert Signed-off-by: David S. Miller --- Reading git-diff-tree failed