]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/sched/cls_flower.c
net: sched: correct flower port blocking
[mirror_ubuntu-bionic-kernel.git] / net / sched / cls_flower.c
index f2a4207ca8bf3b583ce0f48fbe7a7c17ae20b4a5..bbb71d1511fefa55360277043844364960260c7d 100644 (file)
@@ -153,6 +153,7 @@ static int fl_classify(struct sk_buff *skb, const struct tcf_proto *tp,
        if (!atomic_read(&head->ht.nelems))
                return -1;
 
+       flow_dissector_init_keys(&skb_key.control, &skb_key.basic);
        fl_clear_masked_range(&skb_key, &head->mask);
 
        skb_key.indev_ifindex = skb->skb_iif;