)]}'
{
  "commit": "cffce99051b80c90630a9fff662a1b25e278069d",
  "tree": "58257cc50f34458649c412d5a723063d53b417a3",
  "parents": [
    "2b51a9b9eb6bf240d2592e10d2f8823dd1f5ee3e"
  ],
  "author": {
    "name": "Naresh Gottumukkala",
    "email": "bgottumukkala@emulex.com",
    "time": "Mon Aug 26 15:27:44 2013 +0530"
  },
  "committer": {
    "name": "Roland Dreier",
    "email": "roland@purestorage.com",
    "time": "Mon Sep 02 21:18:32 2013 -0700"
  },
  "message": "RDMA/ocrdma: Dont use PD 0 for userpace CQ DB\n\nCreate_CQ verb doesn\u0027t provide a PD pointer.  So, until now we are\ncreating all (both userspace and kernel) CQ DB regions from PD0.  This\nwill result in mmapping PD0 to applications.  A rogue userspace\napplication can mess things up.\n\nAlso more serious issues is even the be2net NIC uses PD0.\n\nThis patch addresses this problem by:\n\n1) Create a PD page for every userspace application when the\n   alloc_ucontext is called. This will be destroyed in\n   dealloc_ucontext.\n2) All CQs for that context will use the PD allocated in ucontext.\n3) The first create_PD call from application will result in returning\n   the PD address from its ucontext (no new PD will be created).\n4) For subsecquent create_pd calls from application, we create new PDs for\n   the application.\n\nSigned-off-by: Naresh Gottumukkala \u003cbgottumukkala@emulex.com\u003e\nSigned-off-by: Roland Dreier \u003croland@purestorage.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c8ba4cefcbaa1fb5f952a60425f37c439d91e6a",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/ocrdma/ocrdma.h",
      "new_id": "fde8fb097a8cb0ed062b0ba70fc10cfb7c593536",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/ocrdma/ocrdma.h"
    },
    {
      "type": "modify",
      "old_id": "16ce664dc466927642d4740e4101cd2305c2778b",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/ocrdma/ocrdma_hw.c",
      "new_id": "618c2124e619d4b037f38f3dc66b9715eb54841e",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/ocrdma/ocrdma_hw.c"
    },
    {
      "type": "modify",
      "old_id": "cc90ac3b6d424f73f432b3f4639c85212367c57a",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/ocrdma/ocrdma_hw.h",
      "new_id": "044db74e780ab3c351c3baba1bb069880f3d9e8d",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/ocrdma/ocrdma_hw.h"
    },
    {
      "type": "modify",
      "old_id": "4eeea56f7b314fbb379d59d28e2258119c0cfe3c",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/ocrdma/ocrdma_main.c",
      "new_id": "7d43ba924bfb71ab3d20af30ec2abf485d2e4a14",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/ocrdma/ocrdma_main.c"
    },
    {
      "type": "modify",
      "old_id": "d1a9fb72a4bde9401f1cbdc4e7131f0b4b8d9972",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/ocrdma/ocrdma_sli.h",
      "new_id": "1e2992fee4be680fca1f8e91a92719b1de63028c",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/ocrdma/ocrdma_sli.h"
    },
    {
      "type": "modify",
      "old_id": "3e80f65f42a3bb9544ecdf0169165c33140ca0e8",
      "old_mode": 33188,
      "old_path": "drivers/infiniband/hw/ocrdma/ocrdma_verbs.c",
      "new_id": "e554fc258a68433e9614775a4bb073864f1cec6d",
      "new_mode": 33188,
      "new_path": "drivers/infiniband/hw/ocrdma/ocrdma_verbs.c"
    }
  ]
}
