Re: [patch net-next] net: sched: fix flush on non-existing chain

2018-08-03 Thread David Miller
From: Jiri Pirko Date: Fri, 3 Aug 2018 11:08:47 +0200 > From: Jiri Pirko > > User was able to perform filter flush on chain 0 even if it didn't have > any filters in it. With the patch that avoided implicit chain 0 > creation, this changed. So in case user wants filter flush on chain > which

[patch net-next] net: sched: fix flush on non-existing chain

2018-08-03 Thread Jiri Pirko
From: Jiri Pirko User was able to perform filter flush on chain 0 even if it didn't have any filters in it. With the patch that avoided implicit chain 0 creation, this changed. So in case user wants filter flush on chain which does not exist, just return success. There's no reason for non-0