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@xxxxxxxxx> > > 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. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html