Signed-off-by: Stanislav Kinsburskiy <[email protected]>
---
net/core/net_namespace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/core/net_namespace.c b/net/core/net_namespace.c
index 2332c41..8f5a76f 100644
--- a/net/core/net_namespace.c
+++ b/net/core/net_namespace.c
@@ -237,6 +237,7 @@ static void net_free(struct net *net)
if (unlikely(atomic_read(&net->use_count) != 0)) {
pr_emerg("network namespace not free! Usage: %d\n",
atomic_read(&net->use_count));
+ add_taint(TAINT_WARN, LOCKDEP_STILL_OK);
return;
}
#endif
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel