diff options
author | wenxu <wenxu@ucloud.cn> | 2019-01-22 11:39:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-26 18:43:03 +0100 |
commit | c8b34e680a090ab8dc42f8331020e31052b49a70 (patch) | |
tree | 5db6a530d23ffb492611e47f35c112f81ef14c49 /net/ipv4/ipip.c | |
parent | ip_tunnel: Add ip tunnel dst_cache in ip_md_tunnel_xmit (diff) | |
download | linux-c8b34e680a090ab8dc42f8331020e31052b49a70.tar.xz linux-c8b34e680a090ab8dc42f8331020e31052b49a70.zip |
ip_tunnel: Add tnl_update_pmtu in ip_md_tunnel_xmit
Add tnl_update_pmtu in ip_md_tunnel_xmit to dynamic modify
the pmtu which packet send through collect_metadata mode
ip tunnel
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipip.c')
-rw-r--r-- | net/ipv4/ipip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index 57c5dd283a2c..fe10b9a2efc8 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c @@ -302,7 +302,7 @@ static netdev_tx_t ipip_tunnel_xmit(struct sk_buff *skb, skb_set_inner_ipproto(skb, ipproto); if (tunnel->collect_md) - ip_md_tunnel_xmit(skb, dev, ipproto); + ip_md_tunnel_xmit(skb, dev, ipproto, 0); else ip_tunnel_xmit(skb, dev, tiph, ipproto); return NETDEV_TX_OK; |