You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some NIC driver may also put packet header(IP/TCP header) in skb non-linear area(frags).
in this case, packet related information(e.g. IP/port) cannot be retrieved from linear data area. bpf_skb_load_bytes() can load packet data in fragments, however, it only works in tc/sk_filter/lwt bpf progs and fail verification in kprobe.
Since pwru use kprobe, do u have any plan or idea about supporting tracing fragmented skb in pwru?
Thanks
The text was updated successfully, but these errors were encountered:
We would need to track fragments in a BPF map. Not sure what an entry function would be good for that. No plans at the moment, but happy to help with such a contribution.
Some NIC driver may also put packet header(IP/TCP header) in skb non-linear area(frags).
in this case, packet related information(e.g. IP/port) cannot be retrieved from linear data area.
bpf_skb_load_bytes()
can load packet data in fragments, however, it only works in tc/sk_filter/lwt bpf progs and fail verification in kprobe.Since pwru use kprobe, do u have any plan or idea about supporting tracing fragmented skb in pwru?
Thanks
The text was updated successfully, but these errors were encountered: