summaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2020-01-13 09:00:36 +0000
committerSteffen Klassert <steffen.klassert@secunet.com>2020-01-14 08:55:38 +0100
commit8aaea2b0428b6aad7c7e22d3fddc31a78bb1d724 (patch)
tree702dc0897b189b4d59b0f6667e7a15fad849da08 /net/xfrm
parentf042365dbffea98fb8148c98c700402e8d099f02 (diff)
downloadlinux-8aaea2b0428b6aad7c7e22d3fddc31a78bb1d724.tar.gz
linux-8aaea2b0428b6aad7c7e22d3fddc31a78bb1d724.tar.bz2
linux-8aaea2b0428b6aad7c7e22d3fddc31a78bb1d724.zip
xfrm: interface: do not confirm neighbor when do pmtu update
When do IPv6 tunnel PMTU update and calls __ip6_rt_update_pmtu() in the end, we should not call dst_confirm_neigh() as there is no two-way communication. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_interface.c b/net/xfrm/xfrm_interface.c
index 00393179f185..dc651a628dcf 100644
--- a/net/xfrm/xfrm_interface.c
+++ b/net/xfrm/xfrm_interface.c
@@ -294,7 +294,7 @@ xfrmi_xmit2(struct sk_buff *skb, struct net_device *dev, struct flowi *fl)
mtu = dst_mtu(dst);
if (!skb->ignore_df && skb->len > mtu) {
- skb_dst_update_pmtu(skb, mtu);
+ skb_dst_update_pmtu_no_confirm(skb, mtu);
if (skb->protocol == htons(ETH_P_IPV6)) {
if (mtu < IPV6_MIN_MTU)