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