Re: [PATCH net] net/sched: cls_flower: Reject duplicated rules also under skip_sw

2018-12-09 Thread David Miller
From: Or Gerlitz Date: Sun, 9 Dec 2018 18:10:24 +0200 > Currently, duplicated rules are rejected only for skip_hw or "none", > hence allowing users to push duplicates into HW for no reason. > > Use the flower tables to protect for that. > > Signed-off-by: Or Gerlitz > Signed-off-by: Paul Blak

[PATCH net] net/sched: cls_flower: Reject duplicated rules also under skip_sw

2018-12-09 Thread Or Gerlitz
Currently, duplicated rules are rejected only for skip_hw or "none", hence allowing users to push duplicates into HW for no reason. Use the flower tables to protect for that. Signed-off-by: Or Gerlitz Signed-off-by: Paul Blakey Reported-by: Chris Mi --- changes from RFC: - properly handle del