[Devel] [PATCH rh7 0/4] Revive forgotten NETNS_REFCNT_DEBUG option

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Tue Nov 24 03:07:48 PST 2015


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(+)

--


More information about the Devel mailing list