)]}'
{
  "commit": "55ca6140e9bb307efc97a9301a4f501de02a6fd6",
  "tree": "f0cc42df52d35a0c7d3bd2a074219eaf4a84e6a7",
  "parents": [
    "cbcb8346054073d000ecac324763372d6abd44ac"
  ],
  "author": {
    "name": "Jiang Liu",
    "email": "liuj97@gmail.com",
    "time": "Fri Feb 03 15:37:16 2012 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Fri Feb 03 16:16:41 2012 -0800"
  },
  "message": "kprobes: fix a memory leak in function pre_handler_kretprobe()\n\nIn function pre_handler_kretprobe(), the allocated kretprobe_instance\nobject will get leaked if the entry_handler callback returns non-zero.\nThis may cause all the preallocated kretprobe_instance objects exhausted.\n\nThis issue can be reproduced by changing\nsamples/kprobes/kretprobe_example.c to probe \"mutex_unlock\".  And the fix\nis straightforward: just put the allocated kretprobe_instance object back\nonto the free_instances list.\n\n[akpm@linux-foundation.org: use raw_spin_lock/unlock]\nSigned-off-by: Jiang Liu \u003cjiang.liu@huawei.com\u003e\nAcked-by: Jim Keniston \u003cjkenisto@us.ibm.com\u003e\nAcked-by: Ananth N Mavinakayanahalli \u003cananth@in.ibm.com\u003e\nCc: Masami Hiramatsu \u003cmasami.hiramatsu.pt@hitachi.com\u003e\nCc: Anil S Keshavamurthy \u003canil.s.keshavamurthy@intel.com\u003e\nCc: \"David S. Miller\" \u003cdavem@davemloft.net\u003e\nCc: \u003cstable@vger.kernel.org\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": "29f5b65bee29321bbfef40396712e1960b9a5836",
      "old_mode": 33188,
      "old_path": "kernel/kprobes.c",
      "new_id": "9788c0ec6f4378f19cd80e873d42a0aec7171548",
      "new_mode": 33188,
      "new_path": "kernel/kprobes.c"
    }
  ]
}
