netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bart De Schuymer <bdschuym@pandora.be>
To: Peter Gordon <peter@pg-consultants.com>
Cc: Jan Engelhardt <jengelh@medozas.de>, netfilter-devel@vger.kernel.org
Subject: Re: Modifying ebtables to read the commands from a file
Date: Wed, 31 Mar 2010 13:45:00 +0200	[thread overview]
Message-ID: <4BB335BC.5060209@pandora.be> (raw)
In-Reply-To: <1270020234.2792.11.camel@qed>

Peter Gordon schreef:
> Thanks for the reply.
>
> The counters are not particularly interesting in my application, so that
> isn't a problem.
>
> ebtables-restore replaces the rules atomically. There are two meanings
> in this context to "atomic".
>
> a) The old ruleset is deleted, and after, the new ruleset is applied
> atomically, at a single instant in time.
>
> or 
>
> b) The old ruleset is deleted and replaced by the new ruleset as one
> action - with no time gap between them.
>
>   
1 the new table content is constructed
2 the pointer to the old table is replaced by a pointer to the new table
3 the old table is deleted

So there's no gap of time in which there is no table ruleset present.

cheers,
Bart


-- 
Bart De Schuymer
www.artinalgorithms.be


      reply	other threads:[~2010-03-31 11:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-28 10:07 Modifying ebtables to read the commands from a file Peter Gordon
2010-03-28 13:00 ` Jan Engelhardt
2010-03-28 15:43   ` Bart De Schuymer
2010-03-31  7:23     ` Peter Gordon
2010-03-31 11:45       ` Bart De Schuymer [this message]

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=4BB335BC.5060209@pandora.be \
    --to=bdschuym@pandora.be \
    --cc=jengelh@medozas.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=peter@pg-consultants.com \
    /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).