summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2015-05-07 12:02:47 +0300
committerDavid S. Miller <davem@davemloft.net>2015-05-10 05:15:30 +0300
commit109582af18b9aade9385ea6609a792f80a7d70ca (patch)
tree41d02b858aef5ce2735ef71324290a6b3e115ec5 /tools/perf/scripts/python/syscall-counts.py
parent43996fdd9b5409dea7bdc73d8fe4e22ca25ccc39 (diff)
downloadlinux-109582af18b9aade9385ea6609a792f80a7d70ca.tar.xz
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 <nicolas.dichtel@6wind.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions