* [PATCH net] bonding: get correct NA dest address
@ 2022-12-06 3:20 Hangbin Liu
2022-12-06 3:25 ` Eric Dumazet
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Hangbin Liu @ 2022-12-06 3:20 UTC (permalink / raw)
To: netdev
Cc: Jay Vosburgh, David S . Miller, Jakub Kicinski, Jonathan Toppins,
Paolo Abeni, Eric Dumazet, Hangbin Liu
In commit 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving
IPv6 messages"), there is a copy/paste issue for NA daddr. I found that
in my testing and fixed it in my local branch. But I forgot to re-format
the patch and sent the wrong mail.
Fix it by reading the correct dest address.
Fixes: 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving IPv6 messages")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
---
drivers/net/bonding/bond_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index f298b9b3eb77..b9a882f182d2 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3247,7 +3247,7 @@ static int bond_na_rcv(const struct sk_buff *skb, struct bonding *bond,
goto out;
saddr = &combined->ip6.saddr;
- daddr = &combined->ip6.saddr;
+ daddr = &combined->ip6.daddr;
slave_dbg(bond->dev, slave->dev, "%s: %s/%d av %d sv %d sip %pI6c tip %pI6c\n",
__func__, slave->dev->name, bond_slave_state(slave),
--
2.38.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH net] bonding: get correct NA dest address
2022-12-06 3:20 [PATCH net] bonding: get correct NA dest address Hangbin Liu
@ 2022-12-06 3:25 ` Eric Dumazet
2022-12-06 9:48 ` Jiri Pirko
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Eric Dumazet @ 2022-12-06 3:25 UTC (permalink / raw)
To: Hangbin Liu
Cc: netdev, Jay Vosburgh, David S . Miller, Jakub Kicinski,
Jonathan Toppins, Paolo Abeni
On Tue, Dec 6, 2022 at 4:21 AM Hangbin Liu <liuhangbin@gmail.com> wrote:
>
> In commit 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving
> IPv6 messages"), there is a copy/paste issue for NA daddr. I found that
> in my testing and fixed it in my local branch. But I forgot to re-format
> the patch and sent the wrong mail.
>
> Fix it by reading the correct dest address.
>
> Fixes: 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving IPv6 messages")
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
> ---
> drivers/net/bonding/bond_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
> index f298b9b3eb77..b9a882f182d2 100644
> --- a/drivers/net/bonding/bond_main.c
> +++ b/drivers/net/bonding/bond_main.c
> @@ -3247,7 +3247,7 @@ static int bond_na_rcv(const struct sk_buff *skb, struct bonding *bond,
> goto out;
>
> saddr = &combined->ip6.saddr;
> - daddr = &combined->ip6.saddr;
> + daddr = &combined->ip6.daddr;
>
Indeed, thanks.
Reviewed-by: Eric Dumazet <edumazet@google.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net] bonding: get correct NA dest address
2022-12-06 3:20 [PATCH net] bonding: get correct NA dest address Hangbin Liu
2022-12-06 3:25 ` Eric Dumazet
@ 2022-12-06 9:48 ` Jiri Pirko
2022-12-06 15:42 ` Jonathan Toppins
2022-12-07 4:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: Jiri Pirko @ 2022-12-06 9:48 UTC (permalink / raw)
To: Hangbin Liu
Cc: netdev, Jay Vosburgh, David S . Miller, Jakub Kicinski,
Jonathan Toppins, Paolo Abeni, Eric Dumazet
Tue, Dec 06, 2022 at 04:20:55AM CET, liuhangbin@gmail.com wrote:
>In commit 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving
>IPv6 messages"), there is a copy/paste issue for NA daddr. I found that
>in my testing and fixed it in my local branch. But I forgot to re-format
>the patch and sent the wrong mail.
>
>Fix it by reading the correct dest address.
>
>Fixes: 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving IPv6 messages")
>Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net] bonding: get correct NA dest address
2022-12-06 3:20 [PATCH net] bonding: get correct NA dest address Hangbin Liu
2022-12-06 3:25 ` Eric Dumazet
2022-12-06 9:48 ` Jiri Pirko
@ 2022-12-06 15:42 ` Jonathan Toppins
2022-12-07 4:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: Jonathan Toppins @ 2022-12-06 15:42 UTC (permalink / raw)
To: Hangbin Liu, netdev
Cc: Jay Vosburgh, David S . Miller, Jakub Kicinski, Paolo Abeni,
Eric Dumazet
On 12/5/22 22:20, Hangbin Liu wrote:
> In commit 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving
> IPv6 messages"), there is a copy/paste issue for NA daddr. I found that
> in my testing and fixed it in my local branch. But I forgot to re-format
> the patch and sent the wrong mail.
>
> Fix it by reading the correct dest address.
>
> Fixes: 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving IPv6 messages")
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Jonathan Toppins <jtoppins@redhat.com>
> ---
> drivers/net/bonding/bond_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
> index f298b9b3eb77..b9a882f182d2 100644
> --- a/drivers/net/bonding/bond_main.c
> +++ b/drivers/net/bonding/bond_main.c
> @@ -3247,7 +3247,7 @@ static int bond_na_rcv(const struct sk_buff *skb, struct bonding *bond,
> goto out;
>
> saddr = &combined->ip6.saddr;
> - daddr = &combined->ip6.saddr;
> + daddr = &combined->ip6.daddr;
>
> slave_dbg(bond->dev, slave->dev, "%s: %s/%d av %d sv %d sip %pI6c tip %pI6c\n",
> __func__, slave->dev->name, bond_slave_state(slave),
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH net] bonding: get correct NA dest address
2022-12-06 3:20 [PATCH net] bonding: get correct NA dest address Hangbin Liu
` (2 preceding siblings ...)
2022-12-06 15:42 ` Jonathan Toppins
@ 2022-12-07 4:30 ` patchwork-bot+netdevbpf
3 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-12-07 4:30 UTC (permalink / raw)
To: Hangbin Liu; +Cc: netdev, j.vosburgh, davem, kuba, jtoppins, pabeni, edumazet
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 6 Dec 2022 11:20:55 +0800 you wrote:
> In commit 4d633d1b468b ("bonding: fix ICMPv6 header handling when receiving
> IPv6 messages"), there is a copy/paste issue for NA daddr. I found that
> in my testing and fixed it in my local branch. But I forgot to re-format
> the patch and sent the wrong mail.
>
> Fix it by reading the correct dest address.
>
> [...]
Here is the summary with links:
- [net] bonding: get correct NA dest address
https://git.kernel.org/netdev/net/c/1f154f3b56a1
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] 5+ messages in thread
end of thread, other threads:[~2022-12-07 4:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06 3:20 [PATCH net] bonding: get correct NA dest address Hangbin Liu
2022-12-06 3:25 ` Eric Dumazet
2022-12-06 9:48 ` Jiri Pirko
2022-12-06 15:42 ` Jonathan Toppins
2022-12-07 4:30 ` 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).