diff options
author | Nicolas Dichtel <[email protected]> | 2015-05-07 11:02:47 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-05-09 22:15:30 -0400 |
commit | 109582af18b9aade9385ea6609a792f80a7d70ca (patch) | |
tree | 41d02b858aef5ce2735ef71324290a6b3e115ec5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 43996fdd9b5409dea7bdc73d8fe4e22ca25ccc39 (diff) |
netns: returns always an id in __peernet2id()
All callers of this function expect a nsid, not an error.
Thus, returns NETNSA_NSID_NOT_ASSIGNED in case of error so that callers
don't have to convert the error to NETNSA_NSID_NOT_ASSIGNED.
Signed-off-by: Nicolas Dichtel <[email protected]>
Acked-by: Thomas Graf <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions