netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH nf 0/2] arp,ebtables: add pre_exit hooks for arp/ebtable hook unregister
Date: Wed,  7 Apr 2021 21:43:38 +0200	[thread overview]
Message-ID: <20210407194340.21594-1-fw@strlen.de> (raw)

arptables and ebtables need the same fixup that was added for
ip/ip6tables: synchronize_rcu() is needed before ruleset can be free'd.

Add pre_exit hooks for this.

Florian Westphal (2):
  netfilter: bridge: add pre_exit hooks for ebtable unregistration
  netfilter: arp_tables: netfilter: bridge: add pre_exit hook for table
    unregister

 include/linux/netfilter_arp/arp_tables.h  |  5 ++--
 include/linux/netfilter_bridge/ebtables.h |  5 ++--
 net/bridge/netfilter/ebtable_broute.c     |  8 +++++-
 net/bridge/netfilter/ebtable_filter.c     |  8 +++++-
 net/bridge/netfilter/ebtable_nat.c        |  8 +++++-
 net/bridge/netfilter/ebtables.c           | 30 ++++++++++++++++++++---
 net/ipv4/netfilter/arp_tables.c           |  9 +++++--
 net/ipv4/netfilter/arptable_filter.c      | 10 +++++++-
 8 files changed, 70 insertions(+), 13 deletions(-)

-- 
2.26.3


             reply	other threads:[~2021-04-07 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-07 19:43 Florian Westphal [this message]
2021-04-07 19:43 ` [PATCH nf 1/2] netfilter: bridge: add pre_exit hooks for ebtable unregistration Florian Westphal
2021-04-07 19:43 ` [PATCH nf 2/2] netfilter: arp_tables: netfilter: bridge: add pre_exit hook for table unregister Florian Westphal
2021-04-10 19:17 ` [PATCH nf 0/2] arp,ebtables: add pre_exit hooks for arp/ebtable hook unregister Pablo Neira Ayuso

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=20210407194340.21594-1-fw@strlen.de \
    --to=fw@strlen.de \
    --cc=netfilter-devel@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 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).