Re: Packet pointer invalidation and subprograms

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

 



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.






[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