This group is locked. No changes can be made to the group while it is locked.
Re: #bcc - skb_network_header crashes in a BPF Kernel trace function #bcc
On Wed, May 6, 2020 at 9:26 AM <vigs.prof@...> wrote:
You did not show the code which actually caused the problem.
bpf_probe_read(&ip_Hdr, sizeof(ip_Hdr), (void*)ip_hdr(skb));There must be code after "if ( (ip_Hdr.protocol != IPPROTO_TCP)) return 0;" .
You may need bpf_probe_read() for memory accesses there.