diff options
author | 2024-11-13 11:05:37 +0800 | |
---|---|---|
committer | 2024-11-22 13:36:00 -0800 | |
commit | bd077a53ad87cb111632e564cdfe8dfbe96786de (patch) | |
tree | a0e0769bfdc7535013264f70b7e4db586ce55141 /net/lapb/lapb_timer.c | |
parent | perf test: Correct hwmon test PMU detection (diff) | |
download | wireguard-linux-bd077a53ad87cb111632e564cdfe8dfbe96786de.tar.xz wireguard-linux-bd077a53ad87cb111632e564cdfe8dfbe96786de.zip |
perf bpf-filter: Return -ENOMEM directly when pfi allocation fails
Directly return -ENOMEM when pfi allocation fails,
instead of performing other operations on pfi.
Fixes: 0fe2b18ddc40 ("perf bpf-filter: Support multiple events properly")
Signed-off-by: Hao Ge <gehao@kylinos.cn>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: hao.ge@linux.dev
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20241113030537.26732-1-hao.ge@linux.dev
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions