Jiri Pirko
f93e1cdcf4
net/sched: fix filter flushing
...
When user instructs to remove all filters from chain, we cannot destroy
the chain as other actions may hold a reference. Also the put in errout
would try to destroy it again. So instead, just walk the chain and remove
all existing filters.
Fixes: 5bc1701881e3 ("net: sched: introduce multichain support for filters")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-23 11:00:07 -04:00
..
2017-04-12 22:02:40 +02:00
2017-05-19 15:06:48 -07:00
2017-05-08 14:39:19 -04:00
2017-02-27 18:43:47 -08:00
2017-03-22 10:48:49 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 14:37:50 -07:00
2017-05-16 11:54:07 -04:00
2017-05-02 11:46:28 -04:00
2017-05-22 23:32:48 -04:00
2017-05-16 11:54:07 -04:00
2017-04-27 09:34:13 +02:00
2017-05-10 08:42:33 -07:00
2017-05-21 13:37:32 -04:00
2017-05-21 13:42:33 -04:00
2017-05-17 16:06:01 -04:00
2017-05-09 15:42:31 -07:00
2017-03-03 10:16:38 -08:00
2017-05-22 19:37:32 -04:00
2017-04-13 13:58:20 -04:00
2017-04-13 13:58:22 -04:00
2017-05-22 23:32:48 -04:00
2017-05-22 23:32:48 -04:00
2017-05-02 15:34:53 -04:00
2017-03-09 18:23:27 -08:00
2017-03-09 18:23:27 -08:00
2017-05-16 11:54:07 -04:00
2017-04-21 20:23:53 -07:00
2017-04-27 16:32:13 -04:00
2017-04-23 11:12:44 +02:00
2017-05-08 11:25:04 +02:00
2017-03-30 11:05:34 -07:00
2017-05-08 17:15:13 -07:00
2017-05-22 23:32:48 -04:00
2017-04-13 13:58:22 -04:00
2017-04-13 13:58:22 -04:00
2017-03-09 18:23:27 -08:00
2017-05-16 11:54:07 -04:00
2017-05-22 23:32:48 -04:00
2017-05-15 14:22:12 -04:00
2017-04-17 15:35:38 -04:00
2017-04-21 20:23:53 -07:00
2017-05-02 16:40:27 -07:00
2017-03-09 18:23:27 -08:00
2017-04-06 11:10:41 +01:00
2017-05-23 11:00:07 -04:00
2017-05-19 19:21:29 -04:00
2017-05-16 14:49:43 -04:00
2017-03-03 20:43:26 -08:00
2017-05-10 13:29:23 -07:00
2017-04-13 13:58:22 -04:00
2017-05-11 22:19:30 -04:00
2017-04-06 12:43:04 -07:00
2017-05-22 14:39:36 -04:00
2017-05-08 11:24:34 +02:00
2017-05-18 10:05:40 -04:00
2017-05-02 16:40:27 -07:00
2017-04-01 12:45:57 -07:00
2017-05-22 12:14:04 -04:00
2017-04-16 23:42:49 -05:00