* [PATCH net-next] gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call
@ 2021-10-06 3:57 Gyeongun Kang
2021-10-06 14:20 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Gyeongun Kang @ 2021-10-06 3:57 UTC (permalink / raw)
To: davem, kuba, netdev; +Cc: pablo, laforge, osmocom-net-gprs
skb_dst_update_pmtu_no_confirm() is a just wrapper function of
->update_pmtu(). So, it doesn't change logic
Signed-off-by: Gyeongun Kang <kyeongun15@gmail.com>
---
drivers/net/gtp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/gtp.c b/drivers/net/gtp.c
index 30e0a10595a1..24e5c54d06c1 100644
--- a/drivers/net/gtp.c
+++ b/drivers/net/gtp.c
@@ -539,7 +539,7 @@ static int gtp_build_skb_ip4(struct sk_buff *skb, struct net_device *dev,
mtu = dst_mtu(&rt->dst);
}
- rt->dst.ops->update_pmtu(&rt->dst, NULL, skb, mtu, false);
+ skb_dst_update_pmtu_no_confirm(skb, mtu);
if (!skb_is_gso(skb) && (iph->frag_off & htons(IP_DF)) &&
mtu < ntohs(iph->tot_len)) {
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call
2021-10-06 3:57 [PATCH net-next] gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call Gyeongun Kang
@ 2021-10-06 14:20 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-10-06 14:20 UTC (permalink / raw)
To: Gyeongun Kang; +Cc: davem, kuba, netdev, pablo, laforge, osmocom-net-gprs
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 6 Oct 2021 03:57:39 +0000 you wrote:
> skb_dst_update_pmtu_no_confirm() is a just wrapper function of
> ->update_pmtu(). So, it doesn't change logic
>
> Signed-off-by: Gyeongun Kang <kyeongun15@gmail.com>
> ---
> drivers/net/gtp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call
https://git.kernel.org/netdev/net-next/c/5b71131b795f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-06 14:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-06 3:57 [PATCH net-next] gtp: use skb_dst_update_pmtu_no_confirm() instead of direct call Gyeongun Kang
2021-10-06 14:20 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).