[PATCH v4 1/3] net: ipv6: Add support for default gateway discovery.

Sergei Antonov saproj at gmail.com
Thu May 4 16:52:50 CEST 2023


On Sat, 22 Apr 2023 at 03:08, <emohandesi at linux.microsoft.com> wrote:

> +                       if (prefix->on_link && ntohl(prefix->valid_lifetime)) {
> +                               net_prefix_length = prefix->prefix_len;
> +                               net_gateway6 = ip6->saddr;
> +                               return 0;

Is it OK that prefix->prefix_len is used, but prefix->prefix is not?
Just curious.


More information about the U-Boot mailing list