Thread (11 messages) flat view 11 messages, 3 authors, 2012-07-17

Re: [PATCH 3/3] ipvs: fix oops in ip_vs_dst_event on rmmod

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2012-07-17 10:08:53
Also in: lvs-devel, netfilter-devel

On Wed, Jul 11, 2012 at 09:19:23AM +0900, Simon Horman wrote:
From: Julian Anastasov <ja@ssi.bg>

	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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help