LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[PATCH] minor bug in ip_vs_ctl.c

To: LVS Users <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] minor bug in ip_vs_ctl.c
Cc: KUROSAWA Takahiro <kurosawa@xxxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Thu, 7 Nov 2002 19:38:57 +0900
Hi,

the following patch was sent to me by Kurosawa-san which resolves a
minor bug in ip_vs_ctl.c. The bug is that if an error state is reached
in do_ip_vs_get_ctl(), then the function returns imediately, leaving the
__ip_vs_mutex down. 

The patch resolves this by making sure that the up() call at the bottom
of do_ip_vs_get_ctl() is always reached.

-- 
Horms

Attachment: ip_vs_ctl.patch
Description: Text document

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