Re: [PATCH] IPv6 IPComp
From: James Morris <hidden>
Date: 2003-05-16 13:40:18
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 [off-list ref]