LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [PATCH] ipvs: fix crash in ip_vs_control_net_cleanup on unload

To: Hans Schillstrom <hans@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH] ipvs: fix crash in ip_vs_control_net_cleanup on unload
Cc: Julian Anastasov <ja@xxxxxx>, lvs-devel@xxxxxxxxxxxxxxx
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Mon, 23 Apr 2012 22:17:16 +0900
On Fri, Apr 13, 2012 at 09:51:13PM +0200, Hans Schillstrom wrote:
> Hello Julian
> It looks  OK
> 
> >---- Original Message ----
> >From: Julian Anastasov <ja@xxxxxx>
> >To: "Simon Horman" <horms@xxxxxxxxxxxx>
> >Cc: lvs-devel@xxxxxxxxxxxxxxx
> >Sent: Fri, Apr 13, 2012, 5:10 PM
> >Subject: [PATCH] ipvs: fix crash in ip_vs_control_net_cleanup on unload
> >
> >commit 14e405461e664b777e2a5636e10b2ebf36a686ec (2.6.39)
> >("Add __ip_vs_control_{init,cleanup}_sysctl()")
> >introduced regression due to wrong __net_init for
> >__ip_vs_control_cleanup_sysctl. This leads to crash when
> >the ip_vs module is unloaded.
> >
> >     Fix it by changing __net_init to __net_exit for
> >the function that is already renamed to ip_vs_control_net_cleanup_sysctl.
> >
> >Signed-off-by: Julian Anastasov <ja@xxxxxx>
> 
> Signed-off-by: Hans Schillstrom <hans@xxxxxxxxxxxxxxx>

Thanks, I have pushed this to ipvs and sent a pull request to
Pablo to consider inclusion in 3.4.
--
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>