Re: [PATCH ipsec/vti 1/2] vti: fragment IPv4 packets when DF bit is not set

2019-03-17 Thread Bram Yvahk
Bram Yvahk wrote: > Only send a 'need to frag' ICMP message when the "Don't Fragment" bit > is set. If it's not set then the packet can/will be fragmented. > > This fixes sending an 'need to frag' message on a client that did not > set the DF bit, i.e.: > > $ ping -s 1300 -M dont -c5 192.16

[PATCH ipsec/vti 1/2] vti: fragment IPv4 packets when DF bit is not set

2019-03-17 Thread Bram Yvahk
Only send a 'need to frag' ICMP message when the "Don't Fragment" bit is set. If it's not set then the packet can/will be fragmented. This fixes sending an 'need to frag' message on a client that did not set the DF bit, i.e.: $ ping -s 1300 -M dont -c5 192.168.235.2 PING 192.168.2