All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: dmitry pervushin <dpervushin@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: Android netfilter patches (xt_IDLETIMER) [3/3]
Date: Tue, 26 Mar 2013 13:48:31 +0100	[thread overview]
Message-ID: <20130326124831.GB5434@localhost> (raw)
In-Reply-To: <5150CB1E.7050409@gmail.com>

On Mon, Mar 25, 2013 at 11:09:34PM +0100, dmitry pervushin wrote:
> Changes to iptables to use updated kernel IDLETIMER structures
> 
> Signed-off-by: dmitry pervushin <dpervushin@gmail.com>
> 
> diff --git a/extensions/libxt_IDLETIMER.c b/extensions/libxt_IDLETIMER.c
> index 21004a4..fc7a18c 100644
> --- a/extensions/libxt_IDLETIMER.c
> +++ b/extensions/libxt_IDLETIMER.c
[...]
>  static struct xtables_target idletimer_tg_reg = {
>  	.family	       = NFPROTO_UNSPEC,
>  	.name	       = "IDLETIMER",
>  	.version       = XTABLES_VERSION,
> -	.revision      = 0,
> -	.size	       = XT_ALIGN(sizeof(struct idletimer_tg_info)),
> -	.userspacesize = offsetof(struct idletimer_tg_info, timer),
> +	.revision      = 1,
> +	.size	       = XT_ALIGN(sizeof(struct idletimer_tg_info_v1)),
> +	.userspacesize = offsetof(struct idletimer_tg_info_v1, timer),
>  	.help	       = idletimer_tg_help,
>  	.x6_parse      = xtables_option_parse,
>  	.print	       = idletimer_tg_print,

We still need the old revision 0 in the iptables user-space code.
There is people that may be using new iptables versions with old
kernels.

      reply	other threads:[~2013-03-26 12:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 22:09 Android netfilter patches (xt_IDLETIMER) [3/3] dmitry pervushin
2013-03-26 12:48 ` Pablo Neira Ayuso [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=20130326124831.GB5434@localhost \
    --to=pablo@netfilter.org \
    --cc=dpervushin@gmail.com \
    --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 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.