On Thu, 2024-12-05 at 17:44 -0800, Alexei Starovoitov wrote: > On Thu, Dec 5, 2024 at 4:29 PM Eduard Zingerman <eddyz87@xxxxxxxxx> wrote: > > > > so I went ahead and the fix does look simple: > > https://github.com/eddyz87/bpf/tree/skb-pull-data-global-func-bug > > Looks simple enough to me. > Ship it for bpf tree. > If we can come up with something better we can do it later in bpf-next. > > I very much prefer to avoid complexity as much as possible. Sent the patch-set for "simple". It is better then "dumb" by any metric anyways. Will try what Andrii suggests, as allowing calling global sub-programs from non-sleepable context sounds interesting.