Re: [PATCH] net/ipv6: Fix route deleting failure when metric equals 0

From: patchwork-bot+netdevbpf
Date: Thu May 16 2024 - 22:40:53 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 14 May 2024 20:11:02 +0800 (CST) you wrote:
> From: xu xin <xu.xin16@xxxxxxxxxx>
>
> Problem
> =========
> After commit 67f695134703 ("ipv6: Move setting default metric for routes"),
> we noticed that the logic of assigning the default value of fc_metirc
> changed in the ioctl process. That is, when users use ioctl(fd, SIOCADDRT,
> rt) with a non-zero metric to add a route, then they may fail to delete a
> route with passing in a metric value of 0 to the kernel by ioctl(fd,
> SIOCDELRT, rt). But iproute can succeed in deleting it.
>
> [...]

Here is the summary with links:
- net/ipv6: Fix route deleting failure when metric equals 0
https://git.kernel.org/netdev/net/c/bb487272380d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html