)]}'
{
  "commit": "7343f68606f74c0f2c423c212476ceb759b4350c",
  "tree": "ff056f2b66fe0dd4ed7fd61336c8d291db2d1edf",
  "parents": [
    "0defe140c1cefd88efc122c5ca281b6fa61bda9b"
  ],
  "author": {
    "name": "Leon Romanovsky",
    "email": "leonro@nvidia.com",
    "time": "Mon Jul 20 16:45:50 2026 -0400"
  },
  "committer": {
    "name": "Leon Romanovsky",
    "email": "leonro@nvidia.com",
    "time": "Wed Jul 22 02:28:54 2026 -0400"
  },
  "message": "scsi: target: Clear cmd_cnt when initial counter enrollment fails\n\nWhen target_get_sess_cmd() fails during session shutdown because\npercpu_ref_tryget_live() returns false, the command keeps the\nse_cmd-\u003ecmd_cnt pointer that __target_init_cmd() assigned earlier without\nowning a reference. Final release through target_release_cmd_kref() then\nissues an unmatched percpu_ref_put().\n\nCommit 8e288be8606a (\"scsi: target: Pass in cmd counter to use during cmd\nsetup\") moved the cmd_cnt assignment ahead of the reference acquisition.\nClear se_cmd-\u003ecmd_cnt whenever the initial target_get_sess_cmd() fails in\ntarget_init_cmd() and target_submit_tmr(), so release performs exactly one\nmatching put per acquired reference.\n\nFixes: 8e288be8606a (\"scsi: target: Pass in cmd counter to use during cmd setup\")\nSigned-off-by: Leon Romanovsky \u003cleonro@nvidia.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fad03a15c969e6d74ad628ae5f10b7f52017fc39",
      "old_mode": 33188,
      "old_path": "drivers/target/target_core_transport.c",
      "new_id": "dcfe945949167d2d6e07bcb6026cc9bae9375190",
      "new_mode": 33188,
      "new_path": "drivers/target/target_core_transport.c"
    }
  ]
}
