[LTP] [PATCH] epoll_ctl06: Fix BPF map on old kernels
Petr Vorel
pvorel@suse.cz
Tue Sep 29 17:53:52 CEST 2026
> Hi!
> > > > Should't this be guarded with kernel version? I.e. only enabled for
> > > > kernels older than 5.8?
> > > At the beginning i did that, but then i thought that probably there are
> > > kernels backporting this feature. i.e. REHL
> > I'd also skip it for older kernel unless somebody reports it's needed.
> > (Simplicity wins in the long term.)
> What i though is that the check should be skipped on kernel newers than
> 5.8 and we should just return 0 here unconditionally.
Ah, I overlooked "enabled for kernels *older* than 5.8". Sure, I also meant
guard only this single test with tst_kvercmp(). Simple, IMHO good enough.
Kind regards,
Petr
More information about the ltp
mailing list