Re: [PATCH] allow ip_tables.h to be used from userspace

2006-12-05 Thread Patrick McHardy
Stephen Hemminger wrote: > On Tue, 05 Dec 2006 19:38:21 +0100 > Patrick McHardy <[EMAIL PROTECTED]> wrote: > > >>I think this regex should be fixed instead to get rid of it >>while sanitizing (Makefile.headersinst). > > > But ip_tables.h should still put include of compiler.h inside #ifdef > __

Re: [PATCH] allow ip_tables.h to be used from userspace

2006-12-05 Thread Stephen Hemminger
On Tue, 05 Dec 2006 19:38:21 +0100 Patrick McHardy <[EMAIL PROTECTED]> wrote: > Stephen Hemminger wrote: > > The xtables version of ip_tables.h was no longer usable (in sanitized form) > > by iproute2 and other applications because sparse annotations had crept > > in. > > > > @@ -194,7 +194,7 @@

Re: [PATCH] allow ip_tables.h to be used from userspace

2006-12-05 Thread Patrick McHardy
Stephen Hemminger wrote: > The xtables version of ip_tables.h was no longer usable (in sanitized form) > by iproute2 and other applications because sparse annotations had crept > in. > > @@ -194,7 +194,7 @@ struct ipt_replace > /* Number of counters (must be equal to current number of entrie

[PATCH] allow ip_tables.h to be used from userspace

2006-12-05 Thread Stephen Hemminger
The xtables version of ip_tables.h was no longer usable (in sanitized form) by iproute2 and other applications because sparse annotations had crept in. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- include/linux/netfilter_ipv4/ip_tables.h |4 ++-- net/ipv4/netfilter/ip_tables.c