Linux/linux 35cc3cenet/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>
DeltaFile
+10-13net/sched/cls_flower.c
+10-131 files

UnifiedSplitRaw