All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Fugmann <afu@fugmann.dhs.org>
To: Harald Welte <laforge@gnumonks.org>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: MARK bit operations patch #2
Date: Tue, 14 Jan 2003 22:29:00 +0100	[thread overview]
Message-ID: <3E24811C.7000604@fugmann.dhs.org> (raw)
In-Reply-To: <20030114211436.GL18686@sunbeam.de.gnumonks.org>

Harald Welte wrote:
> On Tue, Jan 14, 2003 at 01:52:17PM +0100, Anders Fugmann wrote:
> 
>>The patch is compatible in the following ways:
>>
>>new kernel - old userspace: OK
>>new kernel - old userspace: OK
> 
> 
> twice the same? 
My bad, should have said:
new kernel - new userspace: OK
old kernel - new userspace: OK
new kernel - old userspace: OK(*)
* - Only if the new userspace is compiled against the old kernel.

(And of course: old kernel - old userspace :-))

>>
>>Please comment. I'm not use if the compatibility satifies the 
>>requirements needed for such a patch to go into the 2.4 series.
> 
> 
> I think this is fine.  The major cases we have to think about are:
> 
> 1) user updates kernel (new kernel, old userspace)
>    The firewall should start up as expected without any changes in
>    userspace
Works.
> 
> 2) user has old kenel running and is updating iptables userspace
>    In this case iptables userspace has to compile without any warnings.
Also Works.
> 
> 
>>Attached: MARK_TARGET.patch - patch against 2.4 (applies to 2.5 aswell))
>>Attached: MARK_operations.patch.userspace  - patch against iptables .1.2.7a)
> 
> 
> Looks fine so far.  The only issue remaining is:
> 
> You are assuming that 
> 
> IPT_ALIGN(sizeof(struct ipt_mark_target_info)) 
> 	!= IPT_ALIGN(sizeof(struct ipt_mark_bitops_target_info))
> 
> while this may be true on x86, I assume it is different on 64bit
> plaforms. Do you have access to any ia64/sparc64/ppc64/mips64 machine
> with linux?
Unfortunatly not. But why could this introduce an problem on a non x86
platform? Also do you know where to look for more information on this?

I also forgot the manpage update. It will come in the next batch.
Thanks for the positive feedback.

Regards
Anders Fugmann

  reply	other threads:[~2003-01-14 21:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-14 12:52 MARK bit operations patch #2 Anders Fugmann
2003-01-14 21:14 ` Harald Welte
2003-01-14 21:29   ` Anders Fugmann [this message]
2003-01-14 23:53     ` Harald Welte
2003-01-15  1:24       ` Anders Fugmann
2003-02-16 18:21         ` Anders Fugmann

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=3E24811C.7000604@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --cc=laforge@gnumonks.org \
    --cc=netfilter-devel@lists.netfilter.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 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.