netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nft cache updates
@ 2015-11-09 15:30 Patrick McHardy
  2015-11-09 16:48 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Patrick McHardy @ 2015-11-09 15:30 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

Hi Pablo,

I'm wondering what the rational for the current cache update behaviour is.
The changelog states it is somehow related to the requested command, but
that doesn't seem to be true.

Even "nft describe" fails with EPERM as user since the cache appears to be
initialized unconditionally, which is a bit unfortunate. Also I used to
test things parsing, evaluation and even netlink generation without actually
adding those rules as user, which does not work anymore. This might be harder
to get working again, but I'm not sure why we do a full initialization anyways.
The only thing that appears to be needed are sets, and those only in some
specific circumstances.

Cheers,
Patrick

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

end of thread, other threads:[~2015-11-09 18:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-09 15:30 nft cache updates Patrick McHardy
2015-11-09 16:48 ` Pablo Neira Ayuso
2015-11-09 17:05   ` Patrick McHardy
2015-11-09 18:38     ` Pablo Neira Ayuso

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).