Re: patches against 2.6.21 and a small script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

From: Gáspár Lajos <swifty@xxxxxxxxxxx>
Date: Mon, 25 Jun 2007 19:04:10 +0200

> Hi list!
> 
> I found that many pom patches are out of date so I "upgraded" them...
> And also attached a small diff script. (Just rename the old source to 
> .orig and you will get all of those modifications you did if you run 
> this script.)

Thanks, please post such patches to netfilter-devel list from next time.

> --- ./patchlets/ipv4options/linux-2.6/net/ipv4/netfilter/ipt_ipv4options.c.orig	2007-05-02 15:32:49.000000000 +0200
> +++ ./patchlets/ipv4options/linux-2.6/net/ipv4/netfilter/ipt_ipv4options.c	2007-06-25 18:40:25.000000000 +0200
> @@ -154,8 +154,16 @@
>  	return 1;
>  }
>  
> +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
> +static struct xt_match ipv4options_match = { 
> +#else
>  static struct ipt_match ipv4options_match = { 
> +#endif

You don't need to support old kernel in one file.
Please assume that you are writing for only the recent kernel.

> --- ./patchlets/connlimit/linux-2.6/net/ipv4/netfilter/ipt_connlimit.c.orig	2007-03-06 14:47:13.000000000 +0100
> +++ ./patchlets/connlimit/linux-2.6/net/ipv4/netfilter/ipt_connlimit.c	2007-06-25 18:32:06.000000000 +0200

Jan Engelhardt is improving connlimit match. Please refer
netfilter-devel archive in detail.

-- Yasuyuki Kozakai



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux