HomeFreeBSD

ibcore: Fix clearing of bound device interface.

Description

ibcore: Fix clearing of bound device interface.

Binding to a loopback device is not allowed. Make sure the destination
device address is global by clearing the bound device interface.
Only do this conditionally, else link local addresses won't work.

Submitted by: hselasky@
Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
slavashAuthored on
Parents
rS341533: ibcore: ip6_dev_find() needs to know the scope ID.
Branches
Unknown
Tags
Unknown