[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160419.201329.457243095977049352.davem@davemloft.net>
Date: Tue, 19 Apr 2016 20:13:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: khlebnikov@...dex-team.ru
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] net/ipv6/addrconf: simplify sysctl registration
From: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Date: Mon, 18 Apr 2016 14:41:10 +0300
> Struct ctl_table_header holds pointer to sysctl table which could be used
> for freeing it after unregistration. IPv4 sysctls already use that.
> Remove redundant NULL assignment: ndev allocated using kzalloc.
>
> This also saves some bytes: sysctl table could be shorter than
> DEVCONF_MAX+1 if some options are disable in config.
>
> Signed-off-by: Konstantin Khlebnikov <khlebnikov@...dex-team.ru>
Applied.
Powered by blists - more mailing lists