diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2022-05-27 14:44:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-28 15:29:56 +0100 |
commit | 5e1eeef69c0fef6249b794bda5d68f95a65d062f (patch) | |
tree | 0028f6b82ee146f83c125d1585cc9a5567200344 /scripts/gdb/linux/clk.py | |
parent | 911799172d2f703cc14e9000c55d124d5e0a91a2 (diff) |
bonding: NS target should accept link local address
When setting bond NS target, we use bond_is_ip6_target_ok() to check
if the address valid. The link local address was wrongly rejected in
bond_changelink(), as most time the user just set the ARP/NS target to
gateway, while the IPv6 gateway is always a link local address when user
set up interface via SLAAC.
So remove the link local addr check when setting bond NS target.
Fixes: 129e3c1bab24 ("bonding: add new option ns_ip6_target")
Reported-by: Li Liang <liali@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Jonathan Toppins <jtoppins@redhat.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions