mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
ip_tunnel: fix ipv4 pmtu check to honor inner ip header df
commitfc24f2b209upstream. Frag needed should be sent only if the inner header asked to not fragment. Currently fragmentation is broken if the tunnel has df set, but df was not asked in the original packet. The tunnel's df needs to be still checked to update internally the pmtu cache. Commit23a3647bc4broke it, and this commit fixes the ipv4 df check back to the way it was. Fixes:23a3647bc4("ip_tunnels: Use skb-len to PMTU check.") Cc: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: Timo Teräs <timo.teras@iki.fi> Acked-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
parent
f02f07a474
commit
f0663e5c19
1 changed files with 5 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue