Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-coresight-backports
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-coresight-backports
  • Repository
Switch branch/tag
  • linux-coresight-backports
  • drivers
  • infiniband
  • ulp
  • isert
  • ib_isert.c
Find file BlameHistoryPermalink
  • Bart Van Assche's avatar
    scsi: RDMA/isert: Fix a recently introduced regression related to logout · 04060db4
    Bart Van Assche authored Jan 15, 2020
    iscsit_close_connection() calls isert_wait_conn(). Due to commit
    e9d3009c both functions call target_wait_for_sess_cmds() although that
    last function should be called only once. Fix this by removing the
    target_wait_for_sess_cmds() call from isert_wait_conn() and by only calling
    isert_wait_conn() after target_wait_for_sess_cmds().
    
    Fixes: e9d3009c ("scsi: target: iscsi: Wait for all commands to finish before freeing a session").
    Link: https://lore.kernel.org/r/20200116044737.19507-1-bvanassche@acm.org
    
    
    Reported-by: default avatarRahul Kundu <rahul.kundu@chelsio.com>
    Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
    Tested-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
    Acked-by: default avatarSagi Grimberg <sagi@grimberg.me>
    Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
    04060db4