cilium / pwru

Packet, where are you? -- eBPF-based Linux kernel networking debugger
Apache License 2.0
2.88k stars 176 forks source link

Fix tracking skb #410

Closed jschwinger233 closed 3 months ago

jschwinger233 commented 3 months ago

This PR uses &skb to track skb instead of skb->head to prevent several issues. XDP tracing is also taken care of by introducing a new bpf map xdp_dhs_skb_heads.

tklauser commented 3 months ago

Requesting an additional review from @brb since I'm not that familiar with the BPF bits of pwru.