diff options
author | 2016-03-04 15:15:03 +0100 | |
---|---|---|
committer | 2016-03-08 13:55:15 -0500 | |
commit | 8afd54c87ad7089734ef0527937a256586ba828a (patch) | |
tree | 9566535cb2d9ce1cecb2926581f1c3b76577f11a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bpf: allow bpf_csum_diff to feed bpf_l3_csum_replace as well (diff) | |
download | linux-dev-8afd54c87ad7089734ef0527937a256586ba828a.tar.xz linux-dev-8afd54c87ad7089734ef0527937a256586ba828a.zip |
bpf: add flags to bpf_skb_store_bytes for clearing hash
When overwriting parts of the packet with bpf_skb_store_bytes() that
were fed previously into skb->hash calculation, we should clear the
current hash with skb_clear_hash(), so that a next skb_get_hash() call
can determine the correct hash related to this skb.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions