teamd: lw: arp_ping: only check arp reply message
Currently we check both arp request and reply message for arp_ping link
watch. But if we enabled validate_active and validate_inactive at the
same time, we will receive the other slave's arp request as the switch
broadcasts arp request message. i.e. slave1 receives arp request from
slave2 and vice versa.
Then the arp check will pass even the target is unreachable. Fix it by
only check arp reply message.
Reported-by: LiLiang <firstname.lastname@example.org>
Signed-off-by: Hangbin Liu <email@example.com>
Signed-off-by: Jiri Pirko <firstname.lastname@example.org>
1 file changed