xfrmi: drop ignore_df check before updating pmtu
authorSabrina Dubroca <sd@queasysnail.net>
Tue, 4 Aug 2020 09:37:29 +0000 (11:37 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 27 Aug 2020 06:37:50 +0000 (08:37 +0200)
commit45a36a18d01907710bad5258d81f76c18882ad88
tree8715c4ea0cc5c1fcf895b5dff5505ebf1248bd25
parent4eb2e13415757a2bce5bb0d580d22bbeef1f5346
xfrmi: drop ignore_df check before updating pmtu

xfrm interfaces currently test for !skb->ignore_df when deciding
whether to update the pmtu on the skb's dst. Because of this, no pmtu
exception is created when we do something like:

    ping -s 1438 <dest>

By dropping this check, the pmtu exception will be created and the
next ping attempt will work.

Fixes: f203b76d7809 ("xfrm: Add virtual xfrm interfaces")
Reported-by: Xiumei Mu <xmu@redhat.com>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_interface.c