Subject: Re: [PATCH v6 net 3/8] xsk: fix XDP_UMEM_SG_FLAG issues

From: Jakub Kicinski <[email-masked]>
Date: Mon, 6 Apr 2026 18:45:11 -0700

On Sat, 4 Apr 2026 12:11:01 +0200 Maciej Fijalkowski wrote:
> > BUILD_BUG_ON(XDP_UMEM_SG_FLAG & XDP_UMEM_FLAGS_VALID)
> > 
> > somewhere or use a hack like this ?
> > 
> > #define XDP_UMEM_SG_FLAG	(XDP_UMEM_FLAGS_VALID + 1)  
> 
> Good idea i'd lean towards the latter version. I can send v7 after easter
> or if there wouldn't be other issues related to set maybe maintainer could
> adjust it? ;)

Quick edit breaks the build, probably missing an include.
Let's leave it for a follow up 'cause I'm gonna break something :S