[Openswan Users] Kernel 2.6.18 NAT-T patch
Paul Wouters
paul at xelerance.com
Tue Jan 16 18:24:46 EST 2007
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 at mrinformatica.com.br>
> To: users at 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 at 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
More information about the Users
mailing list