Re: [PATCH net-next] net/sched: cls_flower: Disallow duplicate internal elements

2017-01-16 Thread David Miller
From: Paul Blakey Date: Mon, 16 Jan 2017 10:45:13 +0200 > Flower currently allows having the same filter twice with the same > priority. Actions (and statistics update) will always execute on the > first inserted rule leaving the second rule unused. > This patch disallows that. > > Signed-off-by

[PATCH net-next] net/sched: cls_flower: Disallow duplicate internal elements

2017-01-16 Thread Paul Blakey
Flower currently allows having the same filter twice with the same priority. Actions (and statistics update) will always execute on the first inserted rule leaving the second rule unused. This patch disallows that. Signed-off-by: Paul Blakey Acked-by: Jiri Pirko --- net/sched/cls_flower.c | 17