diff options
author | Gao Feng <fgao@ikuai8.com> | 2016-08-31 09:15:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-02 08:45:03 +0300 |
commit | 635c223cfa05af9523146b2f37e119d945f449ae (patch) | |
tree | 836a3ec0989ac301c54c800a08331d7b2a48b1da /net/ipv6/ip6_tunnel.c | |
parent | 28b346cbc0715ae45b2814d857f1d8a7e6817ed8 (diff) | |
download | linux-635c223cfa05af9523146b2f37e119d945f449ae.tar.xz |
rps: flow_dissector: Fix uninitialized flow_keys used in __skb_get_hash possibly
The original codes depend on that the function parameters are evaluated from
left to right. But the parameter's evaluation order is not defined in C
standard actually.
When flow_keys_have_l4(&keys) is invoked before ___skb_get_hash(skb, &keys,
hashrnd) with some compilers or environment, the keys passed to
flow_keys_have_l4 is not initialized.
Fixes: 6db61d79c1e1 ("flow_dissector: Ignore flow dissector return value from ___skb_get_hash")
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions