diff options
author | David Ahern <dsahern@gmail.com> | 2018-02-21 11:00:54 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-22 14:30:51 -0500 |
commit | 1fe4b1184c2ae2bfbf9e8b14c9c0c1945c98f205 (patch) | |
tree | bb8a53b6a565b573bcfbff713003782bb9d27c5f /init | |
parent | 350c9f484bde93ef229682eedd98cd5f74350f7f (diff) | |
download | linux-1fe4b1184c2ae2bfbf9e8b14c9c0c1945c98f205.tar.bz2 |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions