diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-16 12:58:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 12:58:04 +0400 |
commit | 5d1e4468a7705db7c1415a65fd16f07113afc1b2 (patch) | |
tree | 41d34aa3f0e3b8cc0453973d8ce9e03303264080 /net/core/sock.c | |
parent | 554eb27782d4bb79e0a286a08ecafb81f758058c (diff) | |
download | linux-5d1e4468a7705db7c1415a65fd16f07113afc1b2.tar.xz |
[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 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions