lvs-devel
|
To: | Simon Horman <horms@xxxxxxxxxxxx> |
---|---|
Subject: | Re: [PATCH 3/3] ipvs: fix oops in ip_vs_dst_event on rmmod |
Cc: | lvs-devel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, netfilter-devel@xxxxxxxxxxxxxxx, Wensong Zhang <wensong@xxxxxxxxxxxx>, Julian Anastasov <ja@xxxxxx>, Hans Schillstrom <hans.schillstrom@xxxxxxxxxxxx>, Jesper Dangaard Brouer <brouer@xxxxxxxxxx> |
From: | Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> |
Date: | Tue, 17 Jul 2012 12:08:47 +0200 |
On Wed, Jul 11, 2012 at 09:19:23AM +0900, Simon Horman wrote: > From: Julian Anastasov <ja@xxxxxx> > > After commit 39f618b4fd95ae243d940ec64c961009c74e3333 (3.4) > "ipvs: reset ipvs pointer in netns" we can oops in > ip_vs_dst_event on rmmod ip_vs because ip_vs_control_cleanup > is called after the ipvs_core_ops subsys is unregistered and > net->ipvs is NULL. Fix it by exiting early from ip_vs_dst_event > if ipvs is NULL. It is safe because all services and dests > for the net are already freed. Applied, thanks. -- 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> |
---|---|---|
|
Previous by Date: | Re: [PATCH 1/3] ipvs: fix oops on NAT reply in br_nf context, Pablo Neira Ayuso |
---|---|
Next by Date: | Re: [GIT PULL nf] IPVS, Pablo Neira Ayuso |
Previous by Thread: | [PATCH 3/3] ipvs: fix oops in ip_vs_dst_event on rmmod, Simon Horman |
Next by Thread: | [PATCH 1/3] ipvs: fix oops on NAT reply in br_nf context, Simon Horman |
Indexes: | [Date] [Thread] [Top] [All Lists] |