GithubHelp home page GithubHelp logo

Comments (4)

eiffel-fl avatar eiffel-fl commented on July 4, 2024

I am investigating on this bug since some time ago, I think the problem comes from how we relocate the instruction in cilium/ebpf.
I will investigate more and post my findings here, as I need to understand more how the thing is handled in libbpf, until I finally come up with a solution.

from ebpf.

eiffel-fl avatar eiffel-fl commented on July 4, 2024

I just tested 73acad5 and everything is fine with this commit 😅:

; if (LINUX_KERNEL_VERSION < KERNEL_VERSION(5, 11, 0))
10: (18) r1 = 0xffffacb380988000      ; R1_w=map_value(off=0,ks=4,vs=4,imm=0)
12: (61) r1 = *(u32 *)(r1 +0)         ; R1_w=332561
13: (67) r1 <<= 32                    ; R1_w=1428338618925056
14: (c7) r1 s>>= 32                   ; R1_w=332561

from ebpf.

lmb avatar lmb commented on July 4, 2024

Very strange. That commit started copying MapSpec correctly, maybe that was it? No idea what else it could be.

from ebpf.

eiffel-fl avatar eiffel-fl commented on July 4, 2024

I sadly do not know the root cause of the fix but I would say this is because we now associated a map with the load:

73acad5#diff-981ef293a9c93614e843135eb5b207f951babe5604aee33c72f66567ccaa01deR331

from ebpf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.