summaryrefslogtreecommitdiff
path: root/Documentation/pcmcia
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2022-08-30 17:37:20 +0800
committerDavid S. Miller <davem@davemloft.net>2022-09-05 10:07:05 +0100
commitb7f14132bf58256e841774ae07d3ffb7a841c2bc (patch)
tree02dd499352a1605196179afad2986a9394d97ab8 /Documentation/pcmcia
parentc90714017cb3f197e71c7ff1317335b96d4d19e8 (diff)
bonding: use unspecified address if no available link local address
When ns_ip6_target was set, the ipv6_dev_get_saddr() will be called to get available source address and send IPv6 neighbor solicit message. If the target is global address, ipv6_dev_get_saddr() will get any available src address. But if the target is link local address, ipv6_dev_get_saddr() will only get available address from our interface, i.e. the corresponding bond interface. But before bond interface up, all the address is tentative, while ipv6_dev_get_saddr() will ignore tentative address. This makes we can't find available link local src address, then bond_ns_send() will not be called and no NS message was sent. Finally bond interface will keep in down state. Fix this by sending NS with unspecified address if there is no available source address. 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>
Diffstat (limited to 'Documentation/pcmcia')
0 files changed, 0 insertions, 0 deletions