net: sched: unmark chain as explicitly created on delete
authorJiri Pirko <jiri@mellanox.com>
Thu, 26 Jul 2018 16:27:58 +0000 (18:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2018 21:12:58 +0000 (14:12 -0700)
commitc921d7db3d1248c9091af070a7fdce2e55baa86a
tree5fea06e97cb1f4b42d743e0ecb102a517ee034b9
parent0a26cf3ff47d9e70fbed2fa79b0678ee70e25113
net: sched: unmark chain as explicitly created on delete

Once user manually deletes the chain using "chain del", the chain cannot
be marked as explicitly created anymore.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c