]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit660d2df9c315a056728e1af1d6f27b0fc51f5ff4
tree5fea06e97cb1f4b42d743e0ecb102a517ee034b9
parent213eea081f450326833c102d819e1be21a2b320b
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: b73bda75ff93 ("net: sched: introduce chain object to uapi")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c