[LTP] [PATCH] epoll_ctl06: Fix BPF map on old kernels
Cyril Hrubis
chrubis@suse.cz
Tue Sep 29 17:29:36 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.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list