net_sched: act: use standard struct list_head
[pandora-kernel.git] / net / sched / cls_u32.c
index eb07a1e..492d9a6 100644 (file)
@@ -352,7 +352,7 @@ static int u32_destroy_key(struct tcf_proto *tp, struct tc_u_knode *n)
        return 0;
 }
 
-static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knodekey)
+static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode *key)
 {
        struct tc_u_knode **kp;
        struct tc_u_hnode *ht = key->ht_up;
@@ -646,6 +646,7 @@ static int u32_change(struct net *net, struct sk_buff *in_skb,
        n->ht_up = ht;
        n->handle = handle;
        n->fshift = s->hmask ? ffs(ntohl(s->hmask)) - 1 : 0;
+       tcf_exts_init(&n->exts);
 
 #ifdef CONFIG_CLS_U32_MARK
        if (tb[TCA_U32_MARK]) {