aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorPravin B Shelar <[email protected]>2012-03-23 15:02:55 -0700
committerLinus Torvalds <[email protected]>2012-03-23 16:58:42 -0700
commit1b26c9b334044cff6d1d2698f2be41bc7d9a0864 (patch)
tree533eb56100209cd0d8ec2c1f3d354af1695226f9 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentbda7bad62bc4c4e0783348e8db51abe094153c56 (diff)
proc-ns: use d_set_d_op() API to set dentry ops in proc_ns_instantiate().
The namespace cleanup path leaks a dentry which holds a reference count on a network namespace. Keeping that network namespace from being freed when the last user goes away. Leaving things like vlan devices in the leaked network namespace. If you use ip netns add for much real work this problem becomes apparent pretty quickly. It light testing the problem hides because frequently you simply don't notice the leak. Use d_set_d_op() so that DCACHE_OP_* flags are set correctly. This issue exists back to 3.0. Acked-by: "Eric W. Biederman" <[email protected]> Reported-by: Justin Pettit <[email protected]> Signed-off-by: Pravin B Shelar <[email protected]> Signed-off-by: Jesse Gross <[email protected]> Cc: David Miller <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions