[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20141129.210729.1619791248311435624.davem@davemloft.net>
Date: Sat, 29 Nov 2014 21:07:29 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: nicolas.dichtel@...nd.com
Cc: netdev@...r.kernel.org, ebiederm@...ssion.com
Subject: Re: [PATCH net] rtnetlink: release net refcnt on error in
do_setlink()
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
Date: Thu, 27 Nov 2014 10:16:15 +0100
> rtnl_link_get_net() holds a reference on the 'struct net', we need to release
> it in case of error.
>
> CC: Eric W. Biederman <ebiederm@...ssion.com>
> Fixes: b51642f6d77b ("net: Enable a userns root rtnl calls that are safe for unprivilged users")
> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@...nd.com>
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