David Ahern 1fe4b1184c net: ipv4: Set addr_type in hash_keys for forwarded case
The result of the skb flow dissect is copied from keys to hash_keys to
ensure only the intended data is hashed. The original L4 hash patch
overlooked setting the addr_type for this case; add it.

Fixes: bf4e0a3db97eb ("net: ipv4: add support for ECMP hash policy choice")
Reported-by: Ido Schimmel <idosch@idosch.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-02-22 14:30:51 -05:00
..
2017-10-21 01:33:19 +01:00
2018-01-24 19:13:45 -05:00
2018-01-30 09:20:25 -05:00
2017-10-12 22:57:11 -07:00
2018-01-02 14:27:29 -05:00
2017-10-16 21:24:25 +01:00
2018-02-11 14:34:03 -08:00
2013-05-31 17:19:05 -07:00