diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-04-08 19:19:58 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 09:43:59 +0100 |
commit | 3a507b2f9b6e544fc5768d501332919d579f2f9e (patch) | |
tree | 6178bb411d2cf7dd3eb9cc0090c9116791704e7b /target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch | |
parent | 1e0db693dfe6ae5c107713d9135a9a3d8a9b6d10 (diff) | |
download | upstream-3a507b2f9b6e544fc5768d501332919d579f2f9e.tar.gz upstream-3a507b2f9b6e544fc5768d501332919d579f2f9e.tar.bz2 upstream-3a507b2f9b6e544fc5768d501332919d579f2f9e.zip |
kernel: avoid flow offload for connections with xfrm on the dst entry (should fix IPSec)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(backported from b560c1748a4edf0d02046e5a988cc0caf1f4f987)
(rebased patches)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch')
-rw-r--r-- | target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch b/target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch index 833d9f9916..6638a5e949 100644 --- a/target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch +++ b/target/linux/generic/hack-4.14/940-cleanup-offload-hooks-on-netdev-unregister.patch @@ -39,7 +39,7 @@ Signed-off-by: Chen Minqiang <ptpt52@gmail.com> --- a/net/netfilter/xt_FLOWOFFLOAD.c +++ b/net/netfilter/xt_FLOWOFFLOAD.c -@@ -337,10 +337,41 @@ static void xt_flowoffload_table_cleanup +@@ -340,10 +340,41 @@ static void xt_flowoffload_table_cleanup nf_flow_table_free(table); } @@ -81,7 +81,7 @@ Signed-off-by: Chen Minqiang <ptpt52@gmail.com> INIT_DELAYED_WORK(&hook_work, xt_flowoffload_hook_work); ret = xt_flowoffload_table_init(&nf_flowtable); -@@ -358,6 +389,7 @@ static void __exit xt_flowoffload_tg_exi +@@ -361,6 +392,7 @@ static void __exit xt_flowoffload_tg_exi { xt_unregister_target(&offload_tg_reg); xt_flowoffload_table_cleanup(&nf_flowtable); |