All of lore.kernel.org
 help / color / mirror / Atom feed
* nftables: nft fails to add rules to chains
@ 2015-03-19 20:24 Laurent Bercot
  2015-03-21 20:16 ` Laurent Bercot
  2015-03-22 18:31 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 11+ messages in thread
From: Laurent Bercot @ 2015-03-19 20:24 UTC (permalink / raw)
  To: netfilter


  Hello,

  (Platform: Intel Atom (x86_64), Linux 3.19.1, musl 1.1.7,
latest nftables/libnftnl/libmnl from git. All iptables modules
out of the kernel, all necessary nftables modules in.)

  I can flush tables, create tables and create chains with nft
without trouble; however, every time I try and add a rule to
a chain, no matter what chain, no matter in what table, I get
the following error:

  netlink.c:182: Memory allocation failure

  I dug a bit and found that the error always happens when
alloc_nft_expr() is called for the *first* time (which is also
the last, since nft exits at that point...) and it is always
called with the argument "payload".

  What is happening ? Anything I could do to help fix it ?
  Thanks,

-- 
  Laurent


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-03-24 10:06 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19 20:24 nftables: nft fails to add rules to chains Laurent Bercot
2015-03-21 20:16 ` Laurent Bercot
2015-03-22 18:31 ` Pablo Neira Ayuso
2015-03-22 18:45   ` Laurent Bercot
2015-03-22 18:47     ` Laurent Bercot
2015-03-22 19:00     ` Pablo Neira Ayuso
2015-03-22 19:00       ` Laurent Bercot
2015-03-23 11:45         ` Pablo Neira Ayuso
2015-03-23 13:32           ` nftables feature request: don't fail "flush" on nonexistent tables (was: nftables: nft fails to add rules to chains) Laurent Bercot
2015-03-23 19:42             ` Arturo Borrero Gonzalez
2015-03-24 10:06               ` nftables feature request: don't fail "flush" on nonexistent tables Laurent Bercot

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.