From 6dd3c9ec2387725a8e529fae64415cd538b955b7 Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 14 Feb 2014 13:14:39 +0100 Subject: [PATCH] ip_tunnel: return more precise errno value when adding tunnel fails 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 Signed-off-by: David S. Miller --- Reading git-format-patch failed