dst: Clone child entry in skb_dst_pop
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 15 Mar 2011 21:09:32 +0000 (21:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Mar 2011 00:55:01 +0000 (17:55 -0700)
We clone the child entry in skb_dst_pop before we call
skb_dst_drop(). Otherwise we might kill the child right
before we return it to the caller.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found