diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index 2d41c5b21b487c194280d8f9610f23e4e9d06341..1a67af8a6e8ce93bc9821804567d738b4d4547e5 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -1399,7 +1399,7 @@ static int tc_del_tfilter(struct sk_buff *skb, struct nlmsghdr *n, goto errout; } NL_SET_ERR_MSG(extack, "Cannot find specified filter chain"); - err = -EINVAL; + err = -ENOENT; goto errout; }