diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-16 01:58:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 01:58:04 -0700 |
commit | 5d1e4468a7705db7c1415a65fd16f07113afc1b2 (patch) | |
tree | 41d34aa3f0e3b8cc0453973d8ce9e03303264080 /include/net/sock.h | |
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>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions