[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150831.124541.1915347223923733397.davem@davemloft.net>
Date: Mon, 31 Aug 2015 12:45:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: razor@...ckwall.org
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com,
roopa@...ulusnetworks.com, nikolay@...ulusnetworks.com
Subject: Re: [PATCH net] mpls: fix mpls_net_init memory leak
From: Nikolay Aleksandrov <razor@...ckwall.org>
Date: Mon, 31 Aug 2015 10:44:19 -0700
> From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
>
> Fix a memory leak in the mpls netns init function in case of failure. If
> register_net_sysctl fails then we need to free the ctl_table.
>
> Fixes: 7720c01f3f59 ("mpls: Add a sysctl to control the size of the mpls label table")
> Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Applied, thank you.
--
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