All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: lilydjwg <lilydjwg@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: nft error Could not process rule: No buffer space available
Date: Mon, 25 Aug 2025 12:16:46 +0200	[thread overview]
Message-ID: <aKw4DikLFS8MVGVY@calendula> (raw)
In-Reply-To: <aKrK6h2zYdqj2unR@lilyboudoir.localdomain>

Hi,

On Sun, Aug 24, 2025 at 04:18:50PM +0800, lilydjwg wrote:
> I'm switching from iptables+ipset to nftables, and as part of it, I need to
> import a set containing ~2400 IPv6 networks. The file looks like this:

What nftables version are you using?

> define elems = {
>   2001:123::/31,
>   ...
> }
> 
> table ip6 mytable {
>   set myset {
>     type ipv6_addr
>     flags dynamic,interval
>     elements = $elems
>   }
>   chain output {
>     type route hook output priority -150;
>     ... ip6 daddr @myset reject
>   }
> }
> 
> And then "nft -f myfile.nft" fails with
> 
> netlink: Error: Could not process rule: No buffer space available
> 
> -- 
> Best regards,
> lilydjwg
> 

  reply	other threads:[~2025-08-25 10:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-24  8:18 nft error Could not process rule: No buffer space available lilydjwg
2025-08-25 10:16 ` Pablo Neira Ayuso [this message]
2025-08-25 10:46   ` lilydjwg
2025-08-25 10:47     ` Pablo Neira Ayuso
2025-08-25 10:57       ` lilydjwg
2025-08-25 11:11         ` Pablo Neira Ayuso
2025-08-25 11:39           ` lilydjwg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aKw4DikLFS8MVGVY@calendula \
    --to=pablo@netfilter.org \
    --cc=lilydjwg@gmail.com \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.