Re: [PATCH v3 net-next 03/10] net/ipv4: Simplify fib_multipath_hash with optional flow keys

2018-03-02 Thread Nikolay Aleksandrov
On 02/03/18 18:32, David Ahern wrote: > As of commit e37b1e978bec5 ("ipv6: route: dissect flow in input path if > fib rules need it") fib_multipath_hash takes an optional flow keys. If > non-NULL it means the skb has already been dissected. If not set, then > fib_multipath_hash needs to call

[PATCH v3 net-next 03/10] net/ipv4: Simplify fib_multipath_hash with optional flow keys

2018-03-02 Thread David Ahern
As of commit e37b1e978bec5 ("ipv6: route: dissect flow in input path if fib rules need it") fib_multipath_hash takes an optional flow keys. If non-NULL it means the skb has already been dissected. If not set, then fib_multipath_hash needs to call skb_flow_dissect_flow_keys. Simplify the logic by