[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>
This commit is contained in:
Jamal Hadi Salim
2007-10-26 02:47:54 -07:00
committed by David S. Miller
parent 12da81d11a
commit a057ae3c10
2 changed files with 1 additions and 8 deletions

View File

@@ -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 &&