Some need use 8021q + 8021q + pppoe, The current encap number cannot meet the demand.
Signed-off-by: LiXiong Liu <[email protected]> --- ...02-netfilter-flowtable-support-more-encap.patch | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 target/linux/generic/pending-5.10/706-02-netfilter-flowtable-support-more-encap.patch diff --git a/target/linux/generic/pending-5.10/706-02-netfilter-flowtable-support-more-encap.patch b/target/linux/generic/pending-5.10/706-02-netfilter-flowtable-support-more-encap.patch new file mode 100644 index 0000000..2216a2b --- /dev/null +++ b/target/linux/generic/pending-5.10/706-02-netfilter-flowtable-support-more-encap.patch @@ -0,0 +1,24 @@ +--- a/include/linux/netdevice.h ++++ b/include/linux/netdevice.h +@@ -882,8 +882,8 @@ struct net_device_path { + }; + }; + +-#define NET_DEVICE_PATH_STACK_MAX 5 +-#define NET_DEVICE_PATH_VLAN_MAX 2 ++#define NET_DEVICE_PATH_STACK_MAX 8 ++#define NET_DEVICE_PATH_VLAN_MAX 3 + + struct net_device_path_stack { + int num_paths; +--- a/include/net/netfilter/nf_flow_table.h ++++ b/include/net/netfilter/nf_flow_table.h +@@ -96,7 +96,7 @@ enum flow_offload_xmit_type { + FLOW_OFFLOAD_XMIT_DIRECT, + }; + +-#define NF_FLOW_TABLE_ENCAP_MAX 2 ++#define NF_FLOW_TABLE_ENCAP_MAX 3 + + struct flow_offload_tuple { + union { -- 2.7.4 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
