[PATCH 0/5] bpf: Adjustments for four function implementations

From: Markus Elfring
Date: Sat Dec 30 2023 - 15:05:01 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 30 Dec 2023 20:51:23 +0100

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (5):
Improve exception handling in bpf_struct_ops_link_create()
Move an assignment for the variable “st_map”
in bpf_struct_ops_link_create()
Improve exception handling in bpf_core_apply()
Return directly after a failed bpf_map_kmalloc_node()
in bpf_cgroup_storage_alloc()
Improve exception handling in trie_update_elem()

kernel/bpf/bpf_struct_ops.c | 12 ++++++------
kernel/bpf/btf.c | 8 +++++---
kernel/bpf/local_storage.c | 2 +-
kernel/bpf/lpm_trie.c | 24 +++++++++++-------------
4 files changed, 23 insertions(+), 23 deletions(-)

--
2.43.0