diff options
author | Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp> | 2018-09-20 16:52:03 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-20 18:47:13 +0100 |
commit | 73cb54858021d908dbb97a576b96a4f2c98f49d5 (patch) | |
tree | d3488bbedfe7c537f70af20133776c634e5fad93 /Documentation | |
parent | 3536c05af6f41877caa033b4a5c15063152d1562 (diff) | |
download | linux-stable-73cb54858021d908dbb97a576b96a4f2c98f49d5.tar.gz linux-stable-73cb54858021d908dbb97a576b96a4f2c98f49d5.tar.bz2 linux-stable-73cb54858021d908dbb97a576b96a4f2c98f49d5.zip |
samples/bpf: fix compilation failure
[ Upstream commit 32c009798385ce21080beaa87a9b95faad3acd1e ]
following commit:
commit d58e468b1112 ("flow_dissector: implements flow dissector BPF hook")
added struct bpf_flow_keys which conflicts with the struct with
same name in sockex2_kern.c and sockex3_kern.c
similar to commit:
commit 534e0e52bc23 ("samples/bpf: fix a compilation failure")
we tried the rename it "flow_keys" but it also conflicted with struct
having same name in include/net/flow_dissector.h. Hence renaming the
struct to "flow_key_record". Also, this commit doesn't fix the
compilation error completely because the similar struct is present in
sockex3_kern.c. Hence renaming it in both files sockex3_user.c and
sockex3_kern.c
Signed-off-by: Prashant Bhole <bhole_prashant_q7@lab.ntt.co.jp>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions