net: sched: unmark chain as explicitly created on delete
Subsystems (3)
Jiri Pirko
maintainerPATCH 1/1 net: sched: unmark chain as explicitly created on delete
From: Jiri Pirko <[email protected]>
Once user manually deletes the chain using "chain del", the chain cannot be marked as explicitly created anymore.
Signed-off-by Jiri Pirko <[email protected]>
Fixes 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
--- net/sched/cls_api.c | 1 + 1 file changed, 1 insertion(+)
net/sched/cls_api.c +1 -0
@@ -1844,6 +1844,7 @@ static int tc_ctl_chain(struct sk_buff *skb, struct nlmsghdr *n,* to the chain previously taken during addition. */ tcf_chain_put_explicitly_created (chain); + chain->explicitly_created = false;break ;case RTM_GETCHAIN : err = tc_chain_notify(chain, skb, n->nlmsg_seq,
Signature · 1 line
2.14.4
From: Jiri Pirko <[email protected]>
Date: Thu, 26 Jul 2018 18:27:58 +0200
Quoted 7 lines
From: Jiri Pirko <[email protected]>
Once user manually deletes the chain using "chain del", the chain cannot be marked as explicitly created anymore.
Signed-off-by Jiri Pirko <[email protected]>Fixes 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
Applied.