commit | 5d1e4468a7705db7c1415a65fd16f07113afc1b2 | [log] [tgz] |
---|---|---|
author | Denis V. Lunev <den@openvz.org> | Wed Apr 16 01:58:04 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 16 01:58:04 2008 -0700 |
tree | 41d34aa3f0e3b8cc0453973d8ce9e03303264080 | |
parent | 554eb27782d4bb79e0a286a08ecafb81f758058c [diff] |
[NETNS]: Make netns refconting debug like a socket one. Make release_net/hold_net noop for performance-hungry people. This is a debug staff and should be used in the debug mode only. Add check for net != NULL in hold/release calls. This will be required later on. [ Added minor simplifications suggested by Brian Haley. -DaveM ] Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>