)]}'
{
  "commit": "bbc2e3ef87851bc5430b2b4cf4ca3a2f29baeda6",
  "tree": "d9cef396c8370184f23e99480725aa8fde4bea08",
  "parents": [
    "dc36d7e7cd422d69b15e7ec7cc1f021f581a6b6d"
  ],
  "author": {
    "name": "Cyrill Gorcunov",
    "email": "gorcunov@openvz.org",
    "time": "Fri Oct 19 13:56:53 2012 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Oct 19 14:07:47 2012 -0700"
  },
  "message": "pidns: remove recursion from free_pid_ns()\n\nfree_pid_ns() operates in a recursive fashion:\n\nfree_pid_ns(parent)\n  put_pid_ns(parent)\n    kref_put(\u0026ns-\u003ekref, free_pid_ns);\n      free_pid_ns\n\nthus if there was a huge nesting of namespaces the userspace may trigger\navalanche calling of free_pid_ns leading to kernel stack exhausting and a\npanic eventually.\n\nThis patch turns the recursion into an iterative loop.\n\nBased on a patch by Andrew Vagin.\n\n[akpm@linux-foundation.org: export put_pid_ns() to modules]\nSigned-off-by: Cyrill Gorcunov \u003cgorcunov@openvz.org\u003e\nCc: Andrew Vagin \u003cavagin@openvz.org\u003e\nCc: Oleg Nesterov \u003coleg@redhat.com\u003e\nCc: \"Eric W. Biederman\" \u003cebiederm@xmission.com\u003e\nCc: Pavel Emelyanov \u003cxemul@parallels.com\u003e\nCc: Greg KH \u003cgreg@kroah.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "00474b047145ed1f54f3003fe597873a4665cc48",
      "old_mode": 33188,
      "old_path": "include/linux/pid_namespace.h",
      "new_id": "65e3e87eacc59aab1d95a8bd1a14a2e61f29c1f3",
      "new_mode": 33188,
      "new_path": "include/linux/pid_namespace.h"
    },
    {
      "type": "modify",
      "old_id": "478bad2745e3a8357fcc2f9a56059d167bf67e49",
      "old_mode": 33188,
      "old_path": "kernel/pid_namespace.c",
      "new_id": "eb00be205811959c708fe2bf5e3aee0547dcfa36",
      "new_mode": 33188,
      "new_path": "kernel/pid_namespace.c"
    }
  ]
}
