All of lore.kernel.org
 help / color / mirror / Atom feed
* [nf-next PATCH 0/3] netfilter: nf_tables: Report found devices when creating a netdev hook
@ 2025-06-12 13:34 Phil Sutter
  2025-06-12 13:34 ` [nf-next PATCH 1/3] netfilter: nf_tables: commit_notify: Support varying groups Phil Sutter
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Phil Sutter @ 2025-06-12 13:34 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel

Previously, NEWDEV/DELDEV notifications were emitted for new/renamed
devices added to a chain or flowtable only. For user space to fully
comprehend which interfaces a hook binds to, these notifications have to
be sent for matching devices at hook creation time, too.

This series extends the notify list to support messages for varying
groups so it may be reused by the NFNLGRP_NFT_DEV messages (patch 1),
adjusts the device_notify routines to support enqueueing the message
instead of sending it right away (patch 2) and finally adds extra notify
calls to nf_tables_commit() (patch 3).

Phil Sutter (3):
  netfilter: nf_tables: commit_notify: Support varying groups
  netfilter: nf_tables: Support enqueueing device notifications
  netfilter: nf_tables: Extend chain/flowtable notifications

 include/net/netfilter/nf_tables.h |   3 +-
 net/netfilter/nf_tables_api.c     | 160 ++++++++++++++++++++++++++----
 net/netfilter/nft_chain_filter.c  |   2 +-
 3 files changed, 144 insertions(+), 21 deletions(-)

-- 
2.49.0


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

end of thread, other threads:[~2025-07-04 13:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-12 13:34 [nf-next PATCH 0/3] netfilter: nf_tables: Report found devices when creating a netdev hook Phil Sutter
2025-06-12 13:34 ` [nf-next PATCH 1/3] netfilter: nf_tables: commit_notify: Support varying groups Phil Sutter
2025-06-12 13:34 ` [nf-next PATCH 2/3] netfilter: nf_tables: Support enqueueing device notifications Phil Sutter
2025-06-12 13:34 ` [nf-next PATCH 3/3] netfilter: nf_tables: Extend chain/flowtable notifications Phil Sutter
2025-07-04  8:00 ` [nf-next PATCH 0/3] netfilter: nf_tables: Report found devices when creating a netdev hook Pablo Neira Ayuso
2025-07-04 13:18   ` Phil Sutter

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.