We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79af71c commit 3880cdbCopy full SHA for 3880cdb
kernel/trace/bpf_trace.c
@@ -1753,7 +1753,7 @@ static struct pt_regs *get_bpf_raw_tp_regs(void)
1753
struct bpf_raw_tp_regs *tp_regs = this_cpu_ptr(&bpf_raw_tp_regs);
1754
int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level);
1755
1756
- if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) {
+ if (nest_level > ARRAY_SIZE(tp_regs->regs)) {
1757
this_cpu_dec(bpf_raw_tp_nest_level);
1758
return ERR_PTR(-EBUSY);
1759
}
0 commit comments