diff options
| author | wangweidong <[email protected]> | 2014-02-12 09:44:44 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-02-13 17:08:29 -0500 |
| commit | efb842c45e667332774196bd5a1d539d048159cc (patch) | |
| tree | 6b4d1df5479cc9b9fe7c45f65bf4ff7f3a48d06e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 22a1f5140ed69baa5906ce9b2b9143478f5a4da0 (diff) | |
sctp: optimize the sctp_sysctl_net_register
Here, when the net is init_net, we needn't to kmemdup the ctl_table
again. So add a check for net. Also we can save some memory.
Signed-off-by: Wang Weidong <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions