aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorSimon Horman <[email protected]>2018-06-26 21:39:34 -0700
committerDavid S. Miller <[email protected]>2018-06-29 23:50:26 +0900
commita1165b591925551d7c8f1ed45484ebc2847ec8fa (patch)
tree166dca63ebaed139bc2087dd54e17263c7d21e24 /tools/perf/scripts
parentc90d160487c4f82ba128730bcbaf7da760c5bdf1 (diff)
net/sched: act_tunnel_key: disambiguate metadata dst error cases
Metadata may be NULL for one of two reasons: * Missing user input * Failure to allocate the metadata dst Disambiguate these case by returning -EINVAL for the former and -ENOMEM for the latter rather than -EINVAL for both cases. This is in preparation for using extended ack to provide more information to users when parsing their input. Signed-off-by: Simon Horman <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions