netdev
[Top] [All Lists]

Re: [PATCH] IPv6 IPComp

To: Mitsuru KANDA / 神田 充 <mk@xxxxxxxxxxxxxx>
Subject: Re: [PATCH] IPv6 IPComp
From: James Morris <jmorris@xxxxxxxxxxxxxxxx>
Date: Fri, 16 May 2003 23:40:18 +1000 (EST)
Cc: davem@xxxxxxxxxx, <kuznet@xxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>, <usagi@xxxxxxxxxxxxxx>
In-reply-to: <87llx72imk.wl@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 16 May 2003, Mitsuru KANDA / [ISO-2022-JP] $B?@ED(B $B=<(B wrote:

> This patch is implementation of IPComp for IPv6.
> I moved IPcompv4/v6 common definitions to net/ipcomp.h
> and also moved IPcomp header structures to general header files
> (linux/{ip.h,ipv6.h}).
> 
> Attached diff is for linux-2.5.69 + CS1.1137 .
> 
> Could you check it?
> 

Looks good!

A few issues:

The crypto/Kconfig file needs to be updated so that the deflate module is 
enabled when ipcomp6 is.

In a subsequent patch, it would be good to define single NIP6() in a 
header file, as local versions are spreading.

With current bk, you need to attach internal ipip xfrms to allow reception
of uncompressed ipcomp packets in tunnel mode.  See the current ipv4
ipcomp code as an example.  Any generic code for this should probably live
in net/xfrm/xfrm_tunnel.c


- James
-- 
James Morris
<jmorris@xxxxxxxxxxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>