aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2014-02-14 13:14:39 +0100
committerDavid S. Miller <[email protected]>2014-02-17 00:07:09 -0500
commit6dd3c9ec2387725a8e529fae64415cd538b955b7 (patch)
tree0429d81631a0790eba095bf60d86725d679bc734 /tools/perf/scripts/python
parentdf9d9fdf8fdad710949ce52a403684c991ced29b (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions