On 11/23/2015 07:43 PM, Stanislav Kinsburskiy wrote:
Hello gentlemen,

There was NETNS_REFCNT_DEBUG debug introduced in past to track down
situations, when network namespace is being hold (not referenced;
another ref count is used) by various objects, so, on net namespace
release such situations with leaked network objects can be reported.
We don't have this option enabled.
And thus there are two options: either enable it, or clean out all the
references to it's functions, to they won't obfuscate the reader.
I personally would prefer the former.

Well, i don't like the latter option anyway.

i have no objections enabling NETNS_REFCNT_DEBUG in _debug_ kernels only,
so please send a patch.

The only extra thing: please make it not only print the err message, but also 
taint kernel,
so our autotests could catch this.

If anybody objects, please let us know.

--
Konstantin
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to