aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_vti.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-03-02 08:32:15 -0800
committerDavid S. Miller <davem@davemloft.net>2018-03-04 13:04:21 -0500
commit9a2a537acc75dfd19c4358bc9cb6042bdc60698c (patch)
tree70a791fb9e3287bb93310a0aef545b227c69e4d7 /net/ipv6/ip6_vti.c
parentnet/ipv4: Simplify fib_multipath_hash with optional flow keys (diff)
downloadlinux-dev-9a2a537acc75dfd19c4358bc9cb6042bdc60698c.tar.xz
linux-dev-9a2a537acc75dfd19c4358bc9cb6042bdc60698c.zip
net/ipv6: Make rt6_multipath_hash similar to fib_multipath_hash
Make rt6_multipath_hash more of a direct parallel to fib_multipath_hash and reduce stack and overhead in the process: get_hash_from_flowi6 is just a wrapper around __get_hash_from_flowi6 with another stack allocation for flow_keys. Move setting the addresses, protocol and label into rt6_multipath_hash and allow it to make the call to flow_hash_from_keys. Signed-off-by: David Ahern <dsahern@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_vti.c')
0 files changed, 0 insertions, 0 deletions