[prev in list] [next in list] [prev in thread] [next in thread]
List: openswan-users
Subject: Re: [Openswan Users] Kernel 2.6.18 NAT-T patch
From: Paul Wouters <paul () xelerance ! com>
Date: 2007-01-16 23:24:46
Message-ID: Pine.LNX.4.64.0701170024340.823 () tla ! xelerance ! com
[Download RAW message or body]
On Tue, 16 Jan 2007, Giovani Moda - MR Informática wrote:
Looks right. Let us know if it worked?
Paul
> Date: Tue, 16 Jan 2007 18:56:53 -0200
> From: Giovani Moda - MR Informática <giovani@mrinformatica.com.br>
> To: users@openswan.org
> Subject: [Openswan Users] Kernel 2.6.18 NAT-T patch
>
> Hello again,
>
> I'm trying to patch a 2.6.18.6rc2 kernel (fedora core 6) with NAT-T patch,
> and getting a failure on Hunk 4.
>
> I noticed a change in udp.c
>
> /* if we're overly short, let UDP handle it */
> len = skb->len - sizeof(struct udphdr);
> if (len <= 0)
> return 1;
>
> where the patch is expecting:
>
> /* if we're overly short, let UDP handle it */
> if (udpdata > skb->tail)
> - return 1;
> + return 2;
>
> If I just change the patch to
>
> /* if we're overly short, let UDP handle it */
> len = skb->len - sizeof(struct udphdr);
> if (len <= 0)
> - return 1;
> + return 2;
>
> will it work?
>
> Thanks,
>
> Giovani
>
> _______________________________________________
> Users@openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan:
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
--
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic