diff options
author | Eric Dumazet <edumazet@google.com> | 2015-12-15 20:56:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-16 00:14:12 -0500 |
commit | 887dc9f2cef6e98dcccf807da5e6faf4f60ba483 (patch) | |
tree | b398a3d5b92d040656d8336ef2658ec3375789ae /lib/rhashtable.c | |
parent | 9b29c6962b70f232cde4076b1020191e1be0889d (diff) | |
download | linux-887dc9f2cef6e98dcccf807da5e6faf4f60ba483.tar.bz2 |
inet: tcp: fix inetpeer_set_addr_v4()
David Ahern added a vif field in the a4 part of inetpeer_addr struct.
This broke IPv4 TCP fast open client side and more generally tcp metrics
cache, because inetpeer_addr_cmp() is now comparing two u32 instead of
one.
inetpeer_set_addr_v4() needs to properly init vif field, otherwise
the comparison result depends on uninitialized data.
Fixes: 192132b9a034 ("net: Add support for VRFs to inetpeer cache")
Reported-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions