diff options
author | David Ahern <dsahern@gmail.com> | 2019-05-22 20:27:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-24 13:26:44 -0700 |
commit | 1cf844c747d5424abe76f7b599c00b1ac17d3fce (patch) | |
tree | ec68db9a13a743fafe2f3db3877226f7e5bd2cce /net/ipv6/syncookies.c | |
parent | cc5c073a693fa6ed7a207b0436114f68cce72434 (diff) |
ipv6: Make fib6_nh optional at the end of fib6_info
Move fib6_nh to the end of fib6_info and make it an array of
size 0. Pass a flag to fib6_info_alloc indicating if the
allocation needs to add space for a fib6_nh.
The current code path always has a fib6_nh allocated with a
fib6_info; with nexthop objects they will be separate.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/syncookies.c')
0 files changed, 0 insertions, 0 deletions