summaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2007-10-26 11:47:54 +0200
committerDavid S. Miller <davem@davemloft.net>2007-10-26 11:47:54 +0200
commita057ae3c104dd2c661e55d2af37e70d168c65e00 (patch)
tree5efaef5d891f64c8de7d5dde0f61c9d6d0e9e243 /net/sched
parent[NET_CLS_ACT]: Introduce skb_act_clone (diff)
downloadlinux-a057ae3c104dd2c661e55d2af37e70d168c65e00.tar.xz
linux-a057ae3c104dd2c661e55d2af37e70d168c65e00.zip
[NET_CLS_ACT]: Use skb_act_clone
clean skb_clone of any signs of CONFIG_NET_CLS_ACT and have mirred us skb_act_clone() Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_mirred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c
index fd7bca4d5c20..c3fde9180f9d 100644
--- a/net/sched/act_mirred.c
+++ b/net/sched/act_mirred.c
@@ -166,7 +166,7 @@ bad_mirred:
return TC_ACT_SHOT;
}
- skb2 = skb_clone(skb, GFP_ATOMIC);
+ skb2 = skb_act_clone(skb, GFP_ATOMIC);
if (skb2 == NULL)
goto bad_mirred;
if (m->tcfm_eaction != TCA_EGRESS_MIRROR &&