From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: [PATCH net 3/3] net/ipv6: reserve room for IFLA_INET6_ADDR_GEN_MODE Date: Fri, 6 Jul 2018 08:45:09 -0600 Message-ID: <145a910f-a1cf-5069-f6f7-183559b98271@gmail.com> References: <81ed48c7026b1f43f647a59516bfc02acb70d7f4.1530884498.git.sd@queasysnail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Jiri Pirko , Felix Jia To: Sabrina Dubroca , netdev@vger.kernel.org Return-path: Received: from mail-pl0-f66.google.com ([209.85.160.66]:42206 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932352AbeGFOoh (ORCPT ); Fri, 6 Jul 2018 10:44:37 -0400 Received: by mail-pl0-f66.google.com with SMTP id y8-v6so2989831plr.9 for ; Fri, 06 Jul 2018 07:44:36 -0700 (PDT) In-Reply-To: <81ed48c7026b1f43f647a59516bfc02acb70d7f4.1530884498.git.sd@queasysnail.net> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 7/6/18 7:49 AM, Sabrina Dubroca wrote: > inet6_ifla6_size() is called to check how much space is needed by > inet6_fill_link_af() and inet6_fill_ifinfo(), both of which include > the IFLA_INET6_ADDR_GEN_MODE attribute. Reserve some room for it. > > Fixes: bc91b0f07ada ("ipv6: addrconf: implement address generation modes") > Signed-off-by: Sabrina Dubroca > --- > net/ipv6/addrconf.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: David Ahern