summaryrefslogtreecommitdiff
path: root/LICENSES
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-08-30 10:13:00 +1000
committerSteve French <stfrench@microsoft.com>2018-10-02 18:53:57 -0500
commit4e34feb5e96328df6a362c88098502b07c1b1e69 (patch)
treee3766df6003a1b9f6e2084bc2266a6cafcd2e5cf /LICENSES
parentddf83afb9f60ee58cdec30bb615eff65d00ba05e (diff)
cifs: only wake the thread for the very last PDU in a compound
For compounded PDUs we whould only wake the waiting thread for the very last PDU of the compound. We do this so that we are guaranteed that the demultiplex_thread will not process or access any of those MIDs any more once the send/recv thread starts processing. Else there is a race where at the end of the send/recv processing we will try to delete all the mids of the compound. If the multiplex thread still has other mids to process at this point for this compound this can lead to an oops. Needed to fix recent commit: commit 730928c8f4be88e9d6a027a16b1e8fa9c59fc077 ("cifs: update smb2_queryfs() to use compounding") Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions