diff options
author | 2020-04-23 22:20:44 -0700 | |
---|---|---|
committer | 2020-04-24 17:27:02 -0700 | |
commit | 4adb7a4a151c65ac7e9c3a1aa462c84190d48385 (patch) | |
tree | 776699a09bc08d7e2c68d409e67616827ad3a399 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf, x86_32: Fix logic error in BPF_LDX zero-extension (diff) | |
download | wireguard-linux-4adb7a4a151c65ac7e9c3a1aa462c84190d48385.tar.xz wireguard-linux-4adb7a4a151c65ac7e9c3a1aa462c84190d48385.zip |
bpf: Fix leak in LINK_UPDATE and enforce empty old_prog_fd
Fix bug of not putting bpf_link in LINK_UPDATE command.
Also enforce zeroed old_prog_fd if no BPF_F_REPLACE flag is specified.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200424052045.4002963-1-andriin@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions