On Tue, Mar 3, 2026 at 2:11 PM Stefano Brivio <sbrivio@redhat.com> wrote:

Peter, unless you see a problem with that, this patch would be
superseded by:

  [PATCH 2/3] fwd, pif: Replace with pif_sock_l4() with pif_listen()
  https://archives.passt.top/passt-dev/20260302043135.800803-3-david@gibson.dropbear.id.au/

as it avoids the need for this static_assert() altogether. So I would
drop this patch (carrying a Reported-by: tag) in favour of that one.

Sounds good, I'm mostly concerned with having a warning-free clang build. 
The specific fix doesn't particularly matter.

Thanks,

Peter