• X
    geneve: update skb dst pmtu on tx path · 52a589d5
    Xin Long 提交于
    Commit a93bf0ff ("vxlan: update skb dst pmtu on tx path") has fixed
    a performance issue caused by the change of lower dev's mtu for vxlan.
    
    The same thing needs to be done for geneve as well.
    
    Note that geneve cannot adjust it's mtu according to lower dev's mtu
    when creating it. The performance is very low later when netperfing
    over it without fixing the mtu manually. This patch could also avoid
    this issue.
    Signed-off-by: NXin Long <lucien.xin@gmail.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    52a589d5
geneve.c 44.6 KB