From: Steffen Klassert Date: Fri, 4 Jun 2010 01:57:38 +0000 (+0000) Subject: net: check for refcount if pop a stacked dst_entry X-Git-Tag: v2.6.35-rc2~4^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8764ab2ca7ab5055e1ca80f9cfa4970c34acb804;p=pandora-kernel.git net: check for refcount if pop a stacked dst_entry xfrm triggers a warning if dst_pop() drops a refcount on a noref dst. This patch changes dst_pop() to skb_dst_pop(). skb_dst_pop() drops the refcnt only on a refcounted dst. Also we don't clone the child dst_entry, so it is not refcounted and we can use skb_dst_set_noref() in xfrm_output_one(). Signed-off-by: Steffen Klassert Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed