diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-12-19 11:57:35 -0600 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-12-19 22:24:15 +0100 |
commit | 5bf2fc1f9c88397b125d5ec5f65b1ed9300ba59d (patch) | |
tree | f69fca17e381176879e936428734a9b2a8dc2214 /kernel/bpf/devmap.c | |
parent | 7745ff9842617323adbe24e71c495d5ebd9aa352 (diff) | |
download | linux-5bf2fc1f9c88397b125d5ec5f65b1ed9300ba59d.tar.bz2 |
bpf: Remove unnecessary assertion on fp_old
The two callers of bpf_prog_realloc - bpf_patch_insn_single and
bpf_migrate_filter dereference the struct fp_old, before passing
it to the function. Thus assertion to check fp_old is unnecessary
and can be removed.
Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191219175735.19231-1-pakki001@umn.edu
Diffstat (limited to 'kernel/bpf/devmap.c')
0 files changed, 0 insertions, 0 deletions