[PATCH] net: ipv6: Fix IPv6 netmask parsing

2023-01-06 Thread seanedmond
From: Sean Edmond It should be possible to specify a netmask when setting a static IPv6 address. For example: setenv ip6addr 2001:cafe:cafe:cafe::100/64 The net_prefix_length and net_ip6 should be updated properly. Signed-off-by: Sean Edmond --- net/net6.c | 9 ++--- 1 file changed, 6 in

Re: [PATCH] net: ipv6: Fix IPv6 netmask parsing

2023-01-08 Thread Vyacheslav V. Mitrofanov
On Fri, 2023-01-06 at 14:22 -0800, seanedm...@linux.microsoft.com wrote: > From: Sean Edmond > > It should be possible to specify a netmask when > setting a static IPv6 address. For example: > setenv ip6addr 2001:cafe:cafe:cafe::100/64 > > The net_prefix_length and net_ip6 should be updated > p

Re: [PATCH] net: ipv6: Fix IPv6 netmask parsing

2023-01-10 Thread Ramon Fried
On Mon, Jan 9, 2023 at 9:59 AM Vyacheslav V. Mitrofanov wrote: > > On Fri, 2023-01-06 at 14:22 -0800, seanedm...@linux.microsoft.com > wrote: > > From: Sean Edmond > > > > It should be possible to specify a netmask when > > setting a static IPv6 address. For example: > > setenv ip6addr 2001:cafe

Re: [PATCH] net: ipv6: Fix IPv6 netmask parsing

2023-02-03 Thread Tom Rini
On Fri, Jan 06, 2023 at 02:22:55PM -0800, seanedm...@linux.microsoft.com wrote: > From: Sean Edmond > > It should be possible to specify a netmask when > setting a static IPv6 address. For example: > setenv ip6addr 2001:cafe:cafe:cafe::100/64 > > The net_prefix_length and net_ip6 should be upd