diff options
| author | Eric W. Biederman <ebiederm@xmission.com> | 2009-12-03 02:29:03 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-12-03 12:22:01 -0800 |
| commit | 72ad937abd0a43b7cf2c557ba1f2ec75e608c516 (patch) | |
| tree | ac81af750df170a46ed001fb5647b83dc20f8422 /tools/perf/scripts/python | |
| parent | ipv4 05/05: add sysctl to accept packets with local source addresses (diff) | |
| download | linux-72ad937abd0a43b7cf2c557ba1f2ec75e608c516.tar.gz linux-72ad937abd0a43b7cf2c557ba1f2ec75e608c516.zip | |
net: Add support for batching network namespace cleanups
- Add exit_list to struct net to support building lists of network
namespaces to cleanup.
- Add exit_batch to pernet_operations to allow running operations only
once during a network namespace exit. Instead of once per network
namespace.
- Factor opt ops_exit_list and ops_exit_free so the logic with cleanup
up a network namespace does not need to be duplicated.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
