netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Refcounts in libnftnl?
@ 2019-05-18  7:36 Phil Sutter
  0 siblings, 0 replies; only message in thread
From: Phil Sutter @ 2019-05-18  7:36 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: Florian Westphal, netfilter-devel

Hi!

Probably the best way to fix for the segfaults caused by Florian's cache
rebuild logic in iptables-nft is to introduce reference counts so we
don't have to care about whether a given object is present only in cache
or also in a batch job.

Unlike nftables, iptables-nft code uses libnftnl data structures instead
of its own ones.

I wonder if it is OK to add refcounts to libnftnl types instead of
implementing wrapper structures for everything in iptables-nft. What do
you think?

Cheers, Phil

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-18  7:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-18  7:36 Refcounts in libnftnl? Phil Sutter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).