[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140213.184525.1491360161780549632.davem@davemloft.net>
Date: Thu, 13 Feb 2014 18:45:25 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: fw@...len.de
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH -next V2] gre: return more precise errno value when
adding tunnel fails
From: Florian Westphal <fw@...len.de>
Date: Thu, 13 Feb 2014 09:58:35 +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>
This isn't a change to the GRE code, it's a change to the generic ipv4
tunneling support layer. Please update your Subject to match.
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