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

Sergei Antonov
2023-05-04T14:53:08Z

On Sat, 22 Apr 2023 at 03:08, <emohandesi@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.