Skip to content

Commit c31645b

Browse files
committed
system-linux: Set ignore-df flag on GRE tunnels
This is required to make `gretap` fragment packets according to https://bugzilla.kernel.org/show_bug.cgi?id=14837 Signed-off-by: Matthew Bilker <me@mbilker.us>
1 parent ea01ed4 commit c31645b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

system-linux.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4019,6 +4019,7 @@ static int system_add_gre_tunnel(const char *name, const char *kind,
40194019
ttl = 64;
40204020

40214021
nla_put_u8(nlm, IFLA_GRE_PMTUDISC, set_df ? 1 : 0);
4022+
nla_put_u8(nlm, IFLA_GRE_IGNORE_DF, set_df ? 0 : 1);
40224023

40234024
nla_put_u8(nlm, IFLA_GRE_TOS, tos);
40244025
}

0 commit comments

Comments
 (0)