Re: [PATCH 1/6] net: Allow padding in net_domain_list_parse

Denis Kenzior <[email protected]>
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
Hi Andrew,

On 9/20/22 08:31, Andrew Zaborowski wrote:
> The domain name lists in ICMPv6 options may be 0-padded meaning that a
> 0-byte at the beginning of a domain record (ie. a domain with no labels)
> is allowed and should be treated as the end of the list.  Add a boolean
> parameter to tell net_domain_list_parse() whether to allow this.
> 
> Fixes: 4b1ce9b3e3d0 ("icmp6: Parse RDNSS and DNSSL options")
> ---
>   ell/dhcp6-lease.c | 2 +-
>   ell/icmp6.c       | 6 +++---
>   ell/net-private.h | 2 +-
>   ell/net.c         | 8 +++++++-
>   4 files changed, 12 insertions(+), 6 deletions(-)
> 

All applied, thanks.

Regards,
-Denis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.