HomeFreeBSD

Resolve IPv6 scope ID issues when using ip6_find_dev() in the LinuxKPI.

Description

Resolve IPv6 scope ID issues when using ip6_find_dev() in the LinuxKPI.

Workaround problem that ifa_ifwithaddr() also matches the scope ID of
the IPv6 address when searching for a maching IPv6 address. For now
simply try all valid scope IDs until a match is found.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS323350: Remove unsafe access to the LinuxKPI file structure from ibcore.
Branches
Unknown
Tags
Unknown