This explicit check on network namespace usage on free was forgottent for
ages, or maybe it was never used.
This patch set ressurects it.
However:
1) There is no garantee, that corresponding code works as expected
2) This code was throwed away from upstream kernel in May 2015.

---

Stanislav Kinsburskiy (4):
      init/Kconfig: NETNS_REFCNT_DEBUG option added
      net_namespace.h: set NETNS_REFCNT_DEBUG if CONFIG_NETNS_REFCNT_DEBUG
      net_namespace: taint kernel on free, if users exist
      configs: adjust to reflect CONFIG_NETNS_REFCNT_DEBUG option


 configs/kernel-3.10.0-x86_64-debug.config |    1 +
 configs/kernel-3.10.0-x86_64.config       |    1 +
 include/net/net_namespace.h               |    3 +++
 init/Kconfig                              |    7 +++++++
 net/core/net_namespace.c                  |    1 +
 5 files changed, 13 insertions(+)

--
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to