abf: run abf after reassembly 91/42391/2
authorBenoît Ganne <[email protected]>
Wed, 26 Feb 2025 15:06:23 +0000 (16:06 +0100)
committerBenoit Ganne <[email protected]>
Thu, 27 Feb 2025 08:54:46 +0000 (08:54 +0000)
If reassembly is enabled, make sure to apply ABF after reassembly.

Type: fix

Change-Id: Ic12ccba34a9e4d13caba1821e8175ee5adc7f8c3
Signed-off-by: Benoît Ganne <[email protected]>
src/plugins/abf/abf_itf_attach.c

index 04e5c4c..3e55df5 100644 (file)
@@ -681,18 +681,20 @@ VLIB_REGISTER_NODE (abf_ip6_node) =
   }
 };
 
-VNET_FEATURE_INIT (abf_ip4_feat, static) =
-{
+VNET_FEATURE_INIT (abf_ip4_feat, static) = {
   .arc_name = "ip4-unicast",
   .node_name = "abf-input-ip4",
-  .runs_after = VNET_FEATURES ("acl-plugin-in-ip4-fa"),
+  .runs_after = VNET_FEATURES ("acl-plugin-in-ip4-fa",
+                              "ip4-full-reassembly-feature",
+                              "ip4-sv-reassembly-feature"),
 };
 
-VNET_FEATURE_INIT (abf_ip6_feat, static) =
-{
+VNET_FEATURE_INIT (abf_ip6_feat, static) = {
   .arc_name = "ip6-unicast",
   .node_name = "abf-input-ip6",
-  .runs_after = VNET_FEATURES ("acl-plugin-in-ip6-fa"),
+  .runs_after = VNET_FEATURES ("acl-plugin-in-ip6-fa",
+                              "ip6-full-reassembly-feature",
+                              "ip6-sv-reassembly-feature"),
 };
 
 static fib_node_t *