diff options
author | Cambda Zhu <cambda@linux.alibaba.com> | 2020-03-03 14:54:34 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-03 14:50:08 -0800 |
commit | d2f7e56d1e4042dc8a4b4b2d5e9e79f53a6f8e4b (patch) | |
tree | b751491f4d95f7bd9da609664fa6f720bb10a01f /lib/gen_crc32table.c | |
parent | 15070919f801348e9a9a2ea96f427d8b621f3cd5 (diff) | |
download | linux-d2f7e56d1e4042dc8a4b4b2d5e9e79f53a6f8e4b.tar.gz linux-d2f7e56d1e4042dc8a4b4b2d5e9e79f53a6f8e4b.tar.bz2 linux-d2f7e56d1e4042dc8a4b4b2d5e9e79f53a6f8e4b.zip |
ipv6: Use math to point per net sysctls into the appropriate struct net
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@linux.alibaba.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/gen_crc32table.c')
0 files changed, 0 insertions, 0 deletions