lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50eaac61-2ae1-bd6e-bb07-d574f137e581@gmail.com>
Date:   Mon, 2 Mar 2020 23:34:01 -0800
From:   Eric Dumazet <eric.dumazet@...il.com>
To:     Cambda Zhu <cambda@...ux.alibaba.com>,
        netdev <netdev@...r.kernel.org>
Cc:     Dust Li <dust.li@...ux.alibaba.com>,
        Tony Lu <tonylu@...ux.alibaba.com>
Subject: Re: [PATCH] ipv6: Use math to point per net sysctls into the
 appropriate struct net



On 3/2/20 10:54 PM, Cambda Zhu wrote:
> The data pointers of ipv6 sysctl are set one by one which is hard to
> maintain, especially with kconfig. This patch simplifies it by using
> math to point the per net sysctls into the appropriate struct net,
> just like what we did for ipv4.
> 
> Signed-off-by: Cambda Zhu <cambda@...ux.alibaba.com>
> ---
>  net/ipv6/sysctl_net_ipv6.c | 20 ++++----------------
>  1 file changed, 4 insertions(+), 16 deletions(-)
>


Reviewed-by: Eric Dumazet <edumazet@...gle.com>

Please add the intended tree (net-next in this case) for your next patches.

Documentation/networking/netdev-FAQ.rst

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ