From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755522Ab1BARMm (ORCPT ); Tue, 1 Feb 2011 12:12:42 -0500 Received: from smtp-gw21.han.skanova.net ([81.236.55.21]:46850 "EHLO smtp-gw21.han.skanova.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755408Ab1BARMk convert rfc822-to-8bit (ORCPT ); Tue, 1 Feb 2011 12:12:40 -0500 MIME-Version: 1.0 X-Mailer: AfterLogic WebMail PHP X-Originating-IP: 194.237.142.5 X-Priority: 3 (Normal) Message-ID: <7j2t3lt.e4ea73185e9c52a3d68dc337ed04b422@obelix.schillstrom.com> From: "Hans Schillstrom" To: "Simon Horman" Cc: netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, lvs-devel@vger.kernel.org, "Randy Dunlap" , "Stephen Rothwell" , "Patrick McHardy" Subject: Re: [PATCH 5/5] IPVS: Remove ip_vs_sync_cleanup from section __exit Date: Tue, 1 Feb 2011 18:12:31 +0100 (CET) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >---- Original Message ---- >From: Simon Horman >To: netdev@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, lvs-devel@vger.kernel.org >Cc: "Randy Dunlap" , "Stephen Rothwell" , "Hans Schillstrom" , "Patrick McHardy" , "Simon Horman" >Sent: Tue, Feb 1, 2011, 11:11 AM >Subject: [PATCH 5/5] IPVS: Remove ip_vs_sync_cleanup from section __exit > >ip_vs_sync_cleanup() may be called from ip_vs_init() on error >and thus needs to be accesible from section __init > >Reporte-by: Randy Dunlap >Signed-off-by: Simon Horman Signed-off-by: Hans Schillstrom Tested-by: Hans Schillstrom >--- > net/netfilter/ipvs/ip_vs_sync.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/net/netfilter/ipvs/ip_vs_sync.c b/net/netfilter/ipvs/ip_vs_sync.c >index d5a6e64..2a2a836 100644 >--- a/net/netfilter/ipvs/ip_vs_sync.c >+++ b/net/netfilter/ipvs/ip_vs_sync.c >@@ -1686,7 +1686,7 @@ int __init ip_vs_sync_init(void) > return register_pernet_subsys(&ipvs_sync_ops); > } > >-void __exit ip_vs_sync_cleanup(void) >+void ip_vs_sync_cleanup(void) > { > unregister_pernet_subsys(&ipvs_sync_ops); > } >-- >1.7.2.3 > >-- >To unsubscribe from this list: send the line "unsubscribe lvs-devel" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html