Commit 5d1e4468 authored by Committed by David S. Miller
[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 <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 28 additions and 16 deletions