aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorParthasarathy Bhuvaragan <[email protected]>2016-11-01 14:02:36 +0100
committerDavid S. Miller <[email protected]>2016-11-01 11:53:23 -0400
commitcb5da847af4418f91d0e83fc91c2fcb1def5537d (patch)
tree6855eec3e7ab63daa7e2bd2dce9792bee7fdb314 /tools/perf/scripts/python/syscall-counts.py
parent4891d8fe16343660b4c1ddbcca4792300b5fd4f4 (diff)
tipc: set kern=0 in sk_alloc() during tipc_accept()
Until now, tipc_accept() calls sk_alloc() with kern=1. This is incorrect as the data socket's owner is the user application. Thus for these accepted data sockets the network namespace refcount is skipped. In this commit, we fix this by setting kern=0. Acked-by: Ying Xue <[email protected]> Acked-by: Jon Maloy <[email protected]> Signed-off-by: Parthasarathy Bhuvaragan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions