xt_tee: use skb_dst_drop()
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 28 May 2010 10:41:17 +0000 (03:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 May 2010 10:41:17 +0000 (03:41 -0700)
commit50636af715ac1ceb1872bd29a4bdcc68975c3263
tree55e45cff7af6aa1fcacef7803556f6f9a14e7f4c
parent418bd0d4dfbff25ffe4365ddd3e7cba8c70ccba8
xt_tee: use skb_dst_drop()

After commit 7fee226a (net: add a noref bit on skb dst), its wrong to
use : dst_release(skb_dst(skb)), since we could decrement a refcount
while skb dst was not refcounted.

We should use skb_dst_drop(skb) instead.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_TEE.c