LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [ANNOUNCE] ktcpvs 0.0.13

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [ANNOUNCE] ktcpvs 0.0.13
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Thu, 29 May 2003 00:05:49 +0800 (CST)

Hi,

On Wed, 28 May 2003, Christian Bronk wrote:

> Hi,
> 
> I've got an compile error: 0.0.12 workes well: The Kernel is based on 
> 2.4.20-jam1, which has the aa-vm. 
> 
> gcc -D__KERNEL__ -DMODULE  -DEXPORT_SYMTAB -DMODVERSIONS  -g 
> -DCONFIG_TCP_VS_DEBUG -O2 -Wall -Wstrict-prototypes -I/usr/src/linux/include 
> -include /usr/src/linux/include/linux/modversions.h   -c -o tcp_vs_chttp.o 
> tcp_vs_chttp.c
> tcp_vs_chttp.c: In function `inject_session_id_cookie':
> tcp_vs_chttp.c:171: incompatible type for argument 1 of `spin_lock'
> tcp_vs_chttp.c:173: incompatible type for argument 1 of `spin_unlock'
> tcp_vs_chttp.c: In function `find_server_by_session_id':
> tcp_vs_chttp.c:273: incompatible type for argument 1 of `spin_lock'
> tcp_vs_chttp.c:275: incompatible type for argument 1 of `spin_unlock'
> tcp_vs_chttp.c: In function `cookie_expire':
> tcp_vs_chttp.c:342: incompatible type for argument 1 of `spin_lock'
> tcp_vs_chttp.c: In function `http_set_cookie_handler':
> tcp_vs_chttp.c:505: incompatible type for argument 1 of `spin_lock'
> tcp_vs_chttp.c:539: incompatible type for argument 1 of `spin_unlock'
> make: *** [tcp_vs_chttp.o] Error 1
> 

Sorry for not noticing these terrible use of spin_lock and spin_unlock. I 
don't enable the SMP option on my development machine. :(

Please apply the attached patch, or check out the latest source from 
ktcpvs CVS respository.

Thanks,

Wensong

Attachment: tcp_vs_chttp.diff
Description: Text document

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