Skip to content

Commit 6fb4038

Browse files
committed
firewall3: disable buggy flow_offload for nat6
Signed-off-by: Yanlong Wang <[email protected]>
1 parent 1cbe08d commit 6fb4038

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

defaults.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ fw3_print_default_head_rules(struct fw3_ipt_handle *handle,
263263
}
264264
}
265265

266-
if (defs->flow_offloading)
266+
// There seemd to be issues with offloading for nat6. Only use it on IPv4 for now.
267+
if (defs->flow_offloading && handle->family == FW3_FAMILY_V4)
267268
{
268269
r = fw3_ipt_rule_new(handle);
269270
fw3_ipt_rule_comment(r, "Traffic offloading");

0 commit comments

Comments
 (0)