[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180611.163929.1879060173752993644.davem@davemloft.net>
Date: Mon, 11 Jun 2018 16:39:29 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dsahern@...nel.org
Cc: netdev@...r.kernel.org, dsahern@...il.com
Subject: Re: [PATCH net] net/ipv6: Ensure cfg is properly initialized in
ipv6_create_tempaddr
From: dsahern@...nel.org
Date: Mon, 11 Jun 2018 07:12:12 -0700
> From: David Ahern <dsahern@...il.com>
>
> Valdis reported a BUG in ipv6_add_addr:
...
> Looking at the code I found 1 element (peer_pfx) of the newly introduced
> ifa6_config struct that is not initialized. Use a memset rather than hard
> coding an init for each struct element.
>
> Reported-by: Valdis Kletnieks <valdis.kletnieks@...edu>
> Fixes: e6464b8c63619 ("net/ipv6: Convert ipv6_add_addr to struct ifa6_config")
> Signed-off-by: David Ahern <dsahern@...il.com>
Applied, thanks David.
Powered by blists - more mailing lists