[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100926.191002.68127432.davem@davemloft.net>
Date: Sun, 26 Sep 2010 19:10:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nhorman@...driver.com
Cc: netdev@...r.kernel.org, kuznet@....inr.ac.ru, pekkas@...core.fi,
jmorris@...ei.org, yoshfuji@...ux-ipv6.org, kaber@...sh.net
Subject: Re: [PATCH] ipv6: add a missing unregister_pernet_subsys call
From: Neil Horman <nhorman@...driver.com>
Date: Fri, 24 Sep 2010 15:55:52 -0400
> Clean up a missing exit path in the ipv6 module init routines. In
> addrconf_init we call ipv6_addr_label_init which calls register_pernet_subsys
> for the ipv6_addr_label_ops structure. But if module loading fails, or if the
> ipv6 module is removed, there is no corresponding unregister_pernet_subsys call,
> which leaves a now-bogus address on the pernet_list, leading to oopses in
> subsequent registrations. This patch cleans up both the failed load path and
> the unload path. Tested by myself with good results.
>
> Signed-off-by: Neil Horman <nhorman@...driver.com>
Applied.
Thanks a lot Neil.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists