]> git.itanic.dy.fi Git - linux-stable/commit
bonding: accept unsolicited NA message
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 30 Aug 2022 09:37:22 +0000 (17:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 08:47:18 +0000 (10:47 +0200)
commit36512a3ddd39b051c498f2ef7a191bb6d2360ab5
treeceeaf4629bb92006c5bd8d791edbc345e6b65658
parent53d3c40591ad632fda84e3a5fb004ca8862c8d2d
bonding: accept unsolicited NA message

[ Upstream commit 592335a4164c3c41f57967223a1e1efe3a0c6eb3 ]

The unsolicited NA message with all-nodes multicast dest address should
be valid, as this also means the link could reach the target.

Also rename bond_validate_ns() to bond_validate_na().

Reported-by: LiLiang <liali@redhat.com>
Fixes: 5e1eeef69c0f ("bonding: NS target should accept link local address")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/bonding/bond_main.c