[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151103.133256.967841790562963246.davem@davemloft.net>
Date: Tue, 03 Nov 2015 13:32:56 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, dvyukov@...gle.com,
hannes@...essinduktion.org
Subject: Re: [PATCH net] ipv6: clean up dev_snmp6 proc entry when we fail
to initialize inet6_dev
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Tue, 3 Nov 2015 19:09:09 +0100
> 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.
>
> It is safe to call snmp6_unregister_dev unconditionally from
> in6_dev_finish_destroy, so do it.
>
> Reported-by: Dmitry Vyukov <dvyukov@...gle.com>
> Acked-by: Hannes Frederic Sowa <hannes@...essinduktion.org>
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
Applied and queued up for -stable, 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