diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-04-23 12:08:45 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-04-26 06:31:27 +0200 |
commit | 98834a4c3f81c6e4f20329ff266f9bd85731d114 (patch) | |
tree | a00ac0e38ef89be1fd2d0ac67cbf9086e58a3621 /target/linux/generic/hack-6.1 | |
parent | 1991bfb8143d29d619a0a389db84dcb512b9a719 (diff) |
kernel: backport flow offload pppoe fix
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/hack-6.1')
-rw-r--r-- | target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch b/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch index 6fdfc79207..0822b1a2dd 100644 --- a/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch +++ b/target/linux/generic/hack-6.1/650-netfilter-add-xt_FLOWOFFLOAD-target.patch @@ -44,7 +44,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> obj-$(CONFIG_NETFILTER_XT_TARGET_LED) += xt_LED.o --- /dev/null +++ b/net/netfilter/xt_FLOWOFFLOAD.c -@@ -0,0 +1,702 @@ +@@ -0,0 +1,703 @@ +/* + * Copyright (C) 2018-2021 Felix Fietkau <nbd@nbd.name> + * @@ -109,7 +109,8 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> + proto = veth->h_vlan_encapsulated_proto; + break; + case htons(ETH_P_PPP_SES): -+ proto = nf_flow_pppoe_proto(skb); ++ if (!nf_flow_pppoe_proto(skb, &proto)) ++ return NF_ACCEPT; + break; + default: + proto = skb->protocol; |