diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index cca1ef5e5476d35f68f9d021ce69c08320bf9a56..843a716a4303e71cb39c7ad8d95106a6d5c5e872 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -169,7 +169,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n) if (prio == 0) { switch (n->nlmsg_type) { case RTM_DELTFILTER: - if (protocol || t->tcm_handle) + if (protocol || t->tcm_handle || tca[TCA_KIND]) return -ENOENT; break; case RTM_NEWTFILTER: