OSDN Git Service

bonding: accept unsolicited NA message
authorHangbin Liu <liuhangbin@gmail.com>
Tue, 30 Aug 2022 09:37:22 +0000 (17:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Sep 2022 09:07:05 +0000 (10:07 +0100)
commit592335a4164c3c41f57967223a1e1efe3a0c6eb3
treeb2704a346a95a268d4e9c45f7c7bc5cbdeed11a1
parentfd16eb948ea8b28afb03e11a5b11841e6ac2aa2b
bonding: accept unsolicited NA message

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>
drivers/net/bonding/bond_main.c