LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

[PATCH] ipvs: Fix unused label warning

To: Simon Horman <horms@xxxxxxxxxxxx>
Subject: [PATCH] ipvs: Fix unused label warning
Cc: lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, Julius Volz <juliusv@xxxxxxxxxx>, Vince Busam <vbusam@xxxxxxxxxx>, Wensong Zhang <wensong@xxxxxxxxxxxx>, Julian Anastasov <ja@xxxxxx>
From: Sven Wegener <sven.wegener@xxxxxxxxxxx>
Date: Sat, 20 Sep 2008 11:48:33 +0200 (CEST)
Signed-off-by: Sven Wegener <sven.wegener@xxxxxxxxxxx>
---
 net/ipv4/ipvs/ip_vs_ctl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Simon, small fixup patch for your patch. It wasn't obvious from the patch, 
that now only the IPV6 support needs this label.

diff --git a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c
index 771551d..0302cf3 100644
--- a/net/ipv4/ipvs/ip_vs_ctl.c
+++ b/net/ipv4/ipvs/ip_vs_ctl.c
@@ -1330,7 +1330,9 @@ ip_vs_edit_service(struct ip_vs_service *svc, struct 
ip_vs_service_user_kern *u)
 
   out_unlock:
        write_unlock_bh(&__ip_vs_svc_lock);
+#ifdef CONFIG_IP_VS_IPV6
   out:
+#endif
 
        if (old_sched)
                ip_vs_scheduler_put(old_sched);
--
To unsubscribe from this list: send the line "unsubscribe lvs-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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