aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorxu xin <[email protected]>2023-08-07 01:54:08 +0000
committerJakub Kicinski <[email protected]>2023-08-08 15:35:51 -0700
commitc67180efc507e04a87f22aa68bd7dd832db006b7 (patch)
treeaa0dc43aa734f5c3bb4e30544e80586cf0d59e42 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3337022baba978a94922ceac74ca5e6a7e47c4ef (diff)
net/ipv4: return the real errno instead of -EINVAL
For now, No matter what error pointer ip_neigh_for_gw() returns, ip_finish_output2() always return -EINVAL, which may mislead the upper users. For exemple, an application uses sendto to send an UDP packet, but when the neighbor table overflows, sendto() will get a value of -EINVAL, and it will cause users to waste a lot of time checking parameters for errors. Return the real errno instead of -EINVAL. Signed-off-by: xu xin <[email protected]> Reviewed-by: Yang Yang <[email protected]> Cc: Si Hao <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Reviewed-by: Vadim Fedorenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions