0
0
mirror of https://github.com/openwrt/packages.git synced 2025-03-15 02:08:36 +00:00
packages/libs/libpfring/patches/100-fix-compilation-warning.patch
Rosen Penev 6787f2420f libpfring: update to 8.6.1
Remove upstreamed patch, backport one, and switch one from downstream to
upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-05-15 19:43:06 -07:00

12 lines
329 B
Diff

--- a/kernel/pf_ring.c
+++ b/kernel/pf_ring.c
@@ -3903,7 +3903,7 @@ static int hash_pkt_cluster(ring_cluster
break;
}
/* else, fall through, because it's like 2-tuple for non-TCP packets */
-
+ fallthrough;
case cluster_per_flow_2_tuple:
case cluster_per_inner_flow_2_tuple:
flags |= mask_2_tuple;