Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-linux: Make netdev_linux_get_in6() conform to API definition.
The get_in6() API defined in netdev-provider.h requires the return of error values when the 'netdev' has no assigned IPv6 address or the 'netdev' does not support IPv6. However, the netdev_linux_get_in6() implementation does not follow this (always return 0). And this causes the a bug in deleting vlan interfaces created for vlan splinter. This commit makes netdev_linux_get_in6() conform to the API definition and returns the specified error value when failing to get IPv6 address. VMware-BZ: #1485521 Reported-by: Ronald Lee <[email protected]> Signed-off-by: Alex Wang <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information