diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2018-08-23 19:49:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-29 17:51:44 -0700 |
commit | 9f2895461439fda2801a7906fb4c5fb3dbb37a0a (patch) | |
tree | dfd663463f8853ef193b3bfc5b80738fd89a17d9 /net/tipc/socket.c | |
parent | 6a5d39aa9ac274d9ccdb50ec47112158537f00de (diff) | |
download | linux-9f2895461439fda2801a7906fb4c5fb3dbb37a0a.tar.bz2 |
vti6: remove !skb->ignore_df check from vti6_xmit()
Before the commit d6990976af7c ("vti6: fix PMTU caching and reporting
on xmit") '!skb->ignore_df' check was always true because the function
skb_scrub_packet() was called before it, resetting ignore_df to zero.
In the commit, skb_scrub_packet() was moved below, and now this check
can be false for the packet, e.g. when sending it in the two fragments,
this prevents successful PMTU updates in such case. The next attempts
to send the packet lead to the same tx error. Moreover, vti6 initial
MTU value relies on PMTU adjustments.
This issue can be reproduced with the following LTP test script:
udp_ipsec_vti.sh -6 -p ah -m tunnel -s 2000
Fixes: ccd740cbc6e0 ("vti6: Add pmtu handling to vti6_xmit.")
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions