diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2010-06-04 03:57:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-05 00:56:00 +0200 |
commit | 8764ab2ca7ab5055e1ca80f9cfa4970c34acb804 (patch) | |
tree | ca0a6ea6c6fabbb98220f5b700981f7f23855f42 /net/dccp/ccids | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-8764ab2ca7ab5055e1ca80f9cfa4970c34acb804.tar.xz linux-8764ab2ca7ab5055e1ca80f9cfa4970c34acb804.zip |
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 <steffen.klassert@secunet.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions