Given how many (bleeding edge) BPF features bpfilter uses it would be neat to have a kernel testing suite to ensure that the various BPF programs can at least load without issues in some supported kernels.
This is how I do this for one of my projects. This is very useful in general but as lightswitch does runtime feature probing to decide what helpers and other BPF features to use, it's the only way to ensure there are no regressions.
Related issue: #567
Given how many (bleeding edge) BPF features bpfilter uses it would be neat to have a kernel testing suite to ensure that the various BPF programs can at least load without issues in some supported kernels.
This is how I do this for one of my projects. This is very useful in general but as lightswitch does runtime feature probing to decide what helpers and other BPF features to use, it's the only way to ensure there are no regressions.
Related issue: #567