Skip to content

Commit d383d1f

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 3c6265f commit d383d1f

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
@@ -4010,6 +4010,7 @@ static int system_add_gre_tunnel(const char *name, const char *kind,
40104010
ttl = 64;
40114011

40124012
nla_put_u8(nlm, IFLA_GRE_PMTUDISC, set_df ? 1 : 0);
4013+
nla_put_u8(nlm, IFLA_GRE_IGNORE_DF, set_df ? 0 : 1);
40134014

40144015
nla_put_u8(nlm, IFLA_GRE_TOS, tos);
40154016
}

0 commit comments

Comments
 (0)