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

2018-03-02 Thread Ido Schimmel
On Thu, Mar 01, 2018 at 07:29:44PM -0800, 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

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

2018-03-01 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