Re: [PATCH v3 net-next 04/10] net/ipv6: Make rt6_multipath_hash similar to fib_multipath_hash

2018-03-02 Thread Nikolay Aleksandrov
On 02/03/18 18:32, David Ahern wrote: > 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

[PATCH v3 net-next 04/10] net/ipv6: Make rt6_multipath_hash similar to fib_multipath_hash

2018-03-02 Thread David Ahern
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