Re: [PATCH bpf-next 1/1] bpf: Mark virtual BPF context structures as preserve_static_offset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2023-12-07 at 19:36 -0800, Yonghong Song wrote:
[...]

> >   struct bpf_pidns_info {
> >   	__u32 pid;
> > @@ -7280,7 +7286,7 @@ struct bpf_sk_lookup {
> >   	__u32 local_ip6[4];	/* Network byte order */
> >   	__u32 local_port;	/* Host byte order */
> >   	__u32 ingress_ifindex;		/* The arriving interface. Determined by inet_iif. */
> > -};
> > +} __bpf_ctx;
> 
> should we undef __bpf_ctx at the end of the file?
> The same for below bpf_perf_event.h file.

Yes, that makes sense, thank you.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux