Messages in this thread | | | From | Alexei Starovoitov <> | Date | Fri, 25 Jun 2021 08:07:11 -0700 | Subject | Re: [PATCH] x86 bpf: Fix extable offset calculation |
| |
On Thu, Jun 24, 2021 at 11:22 PM Ravi Bangoria <ravi.bangoria@linux.ibm.com> wrote: > > Could you send a followup patch with a selftest, so I don't make > > the same mistake again ? ;) > > Unfortunately extable gets involved only for bad kernel pointers and > ideally there should not be any bad pointer in kernel. So there is no > easy way to create a proper selftest for this.
Right. We have lib/test_bpf.c kernel module for such cases.
| |