History

net: ipv4: Add ability to have GRE ignore DF bit in IPv4 payloads

In the presence of firewalls which improperly block ICMP Unreachable (including Fragmentation Required) messages, Path MTU Discovery is prevented from working. A workaround is to handle IPv4 payloads opaquely, ignoring the DF bit--as is done for other payloads like AppleTalk--and doing transparent fragmentation and reassembly. Redux includes the enforcement of mutual exclusion between this feature and Path MTU Discovery as suggested by Alexander Duyck. Cc: Alexander Duyck <alexander.duyck@gmail.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

Philip Prindeville committed 10 years ago

Commit 22a59be1 parent 810e5304 files · +36 −10Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/if_tunnel.h+1−0
@@ -113,6 +113,7 @@ enum { · 112 unmodified lines
113113 IFLA_GRE_ENCAP_SPORT,
114114 IFLA_GRE_ENCAP_DPORT,
115115 IFLA_GRE_COLLECT_METADATA,
116+ IFLA_GRE_IGNORE_DF,
116117 __IFLA_GRE_MAX,
117118 };
118119

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t