diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-12-18 14:20:56 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-19 13:37:27 -0500 |
commit | a93bf0ff449064e6b7f44e58522e940f88c0d966 (patch) | |
tree | f992eb65066704d932295403ec13e7de6113c150 /net | |
parent | 78aa09754d69ba19a55c59f490788ec1c85f41f0 (diff) | |
download | linux-stable-a93bf0ff449064e6b7f44e58522e940f88c0d966.tar.gz linux-stable-a93bf0ff449064e6b7f44e58522e940f88c0d966.tar.bz2 linux-stable-a93bf0ff449064e6b7f44e58522e940f88c0d966.zip |
vxlan: update skb dst pmtu on tx path
Unlike ip tunnels, now vxlan doesn't do any pmtu update for
upper dst pmtu, even if it doesn't match the lower dst pmtu
any more.
The problem can be reproduced when reducing the vxlan lower
dev's pmtu when running netperf. In jianlin's testing, the
performance went to 1/7 of the previous.
This patch is to update the upper dst pmtu to match the lower
dst pmtu on tx path so that packets can be sent out even when
lower dev's pmtu has been changed.
It also works for metadata dst.
Note that this patch doesn't process any pmtu icmp packet.
But even in the future, the support for pmtu icmp packets
process of udp tunnels will also needs this.
The same thing will be done for geneve in another patch.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions