]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74e2016249ec760920d9f4ec1ff6e8946216b867
treeb2704a346a95a268d4e9c45f7c7bc5cbdeed11a1
parent78c7b1eaa083f7b3b7ac14db3a9249c5f0b8bceb
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: c90c11910ab4 ("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