Linux/linux 35cc3ce — net/sched cls_flower.c
net/sched: cls_flower: Reject duplicated rules also under skip_sw 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 <ogerlitz at mellanox.com> Signed-off-by: Paul Blakey <paulb at mellanox.com> Reported-by: Chris Mi <chrism at mellanox.com> Signed-off-by: David S. Miller <davem at davemloft.net>
Delta | File | |
---|---|---|
+10 | -13 | net/sched/cls_flower.c |
+10 | -13 | 1 files |