]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: get correct NA dest address
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 6 Dec 2022 03:20:55 +0000 (11:20 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 7 Dec 2022 04:20:38 +0000 (20:20 -0800)
commitee11e065e613d491322912f2fa4746b0b31d7bc0
tree1b9a148283dd49e0ea453a38df2aef90ab64870e
parent7fb8da15ca25d28fa5200e5c9d7954c62dde5b8f
bonding: get correct NA dest address

In commit ec01c94499ef ("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: ec01c94499ef ("bonding: fix ICMPv6 header handling when receiving IPv6 messages")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Acked-by: Jonathan Toppins <jtoppins@redhat.com>
Link: https://lore.kernel.org/r/20221206032055.7517-1-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/bonding/bond_main.c