Skip to content

Commit

Permalink
system-linux: Set ignore-df flag on GRE tunnels
Browse files Browse the repository at this point in the history
This is required to make `gretap` fragment packets according to
https://bugzilla.kernel.org/show_bug.cgi?id=14837

Signed-off-by: Matthew Bilker <[email protected]>
  • Loading branch information
mbilker committed Oct 8, 2024
1 parent 3c6265f commit d383d1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -4010,6 +4010,7 @@ static int system_add_gre_tunnel(const char *name, const char *kind,
ttl = 64;

nla_put_u8(nlm, IFLA_GRE_PMTUDISC, set_df ? 1 : 0);
nla_put_u8(nlm, IFLA_GRE_IGNORE_DF, set_df ? 0 : 1);

nla_put_u8(nlm, IFLA_GRE_TOS, tos);
}
Expand Down

0 comments on commit d383d1f

Please sign in to comment.