[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHA+R7MPrrdKfGHdBN8iLbjw4dZNHg32MSn9vjNZcQL4u0zXZg@mail.gmail.com>
Date: Wed, 4 Nov 2015 12:47:53 -0800
From: Cong Wang <cwang@...pensource.com>
To: Sabrina Dubroca <sd@...asysnail.net>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Hannes Frederic Sowa <hannes@...essinduktion.org>
Subject: Re: [PATCH net v4] ipv6: clean up dev_snmp6 proc entry when we fail
to initialize inet6_dev
On Wed, Nov 4, 2015 at 9:30 AM, Sabrina Dubroca <sd@...asysnail.net> wrote:
> In ipv6_add_dev, when addrconf_sysctl_register fails, we do not clean up
> the dev_snmp6 entry that we have already registered for this device.
> Call snmp6_unregister_dev in this case.
>
> Fixes: a317a2f19da7d ("ipv6: fail early when creating netdev named all or default")
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
Reviewed-by: Cong Wang <cwang@...pensource.com>
Thanks!
--
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