[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140217.000742.2266454591904373167.davem@davemloft.net>
Date: Mon, 17 Feb 2014 00:07:42 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fw@...len.de
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH -next V3] ip_tunnel: return more precise errno value
when adding tunnel fails
From: Florian Westphal <fw@...len.de>
Date: Fri, 14 Feb 2014 13:14:39 +0100
> Currently this always returns ENOBUFS, because the return value of
> __ip_tunnel_create is discarded.
>
> A more common failure is a duplicate name (EEXIST). Propagate the real
> error code so userspace can display a more meaningful error message.
>
> Signed-off-by: Florian Westphal <fw@...len.de>
Applied, thanks Florian.
--
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