lkml.org 
[lkml]   [2021]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [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.

    \
     
     \ /
      Last update: 2021-06-25 17:07    [W:2.667 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site