aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2misc.c
AgeCommit message (Expand)AuthorFilesLines
2023-05-24smb: move client and server files to common directory fs/smbSteve French1-944/+0
2023-02-20smb3: Replace smb2pdu 1-element arrays with flex-arraysKees Cook1-1/+1
2022-11-04cifs: avoid unnecessary iteration of tcp sessionsShyam Prasad N1-34/+35
2022-11-04cifs: always iterate smb sessions using primary channelShyam Prasad N1-2/+10
2022-10-13cifs: use ALIGN() and round_up() macrosEnzo Matsumiya1-1/+1
2022-10-07cifs: secmech: use shash_desc directly, remove sdescEnzo Matsumiya1-7/+6
2022-08-17cifs: remove unused server parameter from calc_smb_size()Enzo Matsumiya1-2/+2
2022-08-11cifs: Move cached-dir functions into a separate fileRonnie Sahlberg1-9/+2
2022-08-01smb2: small refactor in smb2_check_message()Enzo Matsumiya1-19/+28
2022-08-01cifs: remove unnecessary type castingsYu Zhe1-1/+1
2022-05-22smb3: add trace point for oplock not foundSteve French1-0/+4
2022-05-21smb3: add trace point for lease not found issueSteve French1-0/+6
2022-05-20cifs: print TIDs as hexEnzo Matsumiya1-1/+1
2022-04-04cifs: remove check of list iterator against head past the loop bodyJakob Koschel1-4/+6
2022-03-25[smb3] move more common protocol header definitions to smbfs_commonSteve French1-5/+5
2022-03-23cifs: fix bad fids sent over wirePaulo Alcantara1-2/+2
2022-01-15cifs: Fix smb311_update_preauth_hash() kernel-doc commentYang Li1-0/+1
2022-01-02cifs: use the chans_need_reconnect bitmap for reconnect statusShyam Prasad N1-2/+2
2021-11-05cifs: Move SMB2_Create definitions to the shared areaRonnie Sahlberg1-2/+2
2021-11-05cifs: Create a new shared file holding smb2 pdu definitionsRonnie Sahlberg1-22/+21
2021-09-13cifs: remove pathname for file from SPDX headerSteve French1-1/+0
2021-06-23cifs: fix NULL dereference in smb2_check_message()Dan Carpenter1-3/+2
2021-06-20cifs: use SPDX-Licence-IdentifierSteve French1-13/+1
2021-06-20cifs: convert list_for_each to entry variant in smb2misc.cBaokun Li1-25/+8
2021-04-25cifs: add a timestamp to track when the lease of the cached dir was takenRonnie Sahlberg1-0/+1
2021-03-26cifs: Silently ignore unknown oplock break handleVincent Whitchurch1-2/+2
2021-03-08cifs: do not send close in compound create+close requestsPaulo Alcantara1-4/+4
2021-03-08cifs: print MIDs in decimal notationPaulo Alcantara1-1/+1
2020-12-14cifs: remove various function description warningsSteve French1-0/+4
2020-12-13SMB3.1.1: update comments clarifying SPNEGO info in negprot responseSteve French1-1/+10
2020-12-13SMB3.1.1: remove confusing mount warning when no SPNEGO info on negprot rspSteve French1-4/+12
2020-08-02cifs: Fix leak when handling lease break for cached root fidPaul Aurich1-21/+52
2020-07-08smb3: fix unneeded error message on change notifySteve French1-2/+6
2020-06-01cifs: Standardize logging outputJoe Perches1-10/+10
2020-04-07cifs: ignore cached share root handle closing errorsAurelien Aptel1-0/+14
2020-01-26cifs: Fix memory allocation in __smb2_handle_cancelled_cmd()Paulo Alcantara (SUSE)1-1/+1
2019-11-25CIFS: Properly process SMB3 lease breaksPavel Shilovsky1-25/+7
2019-11-25cifs: try opening channels after mountingAurelien Aptel1-11/+26
2019-11-25CIFS: Fix SMB2 oplock break processingPavel Shilovsky1-4/+3
2019-11-25smb3: add debug messages for closing unmatched openRonnie Sahlberg1-10/+32
2019-11-25CIFS: Close open handle after interrupted closePavel Shilovsky1-14/+45
2019-11-25smb3: remove confusing dmesg when mounting with encryption ("seal")Steve French1-8/+2
2019-04-16CIFS: keep FileInfo handle live during oplock breakAurelien Aptel1-3/+3
2019-03-04CIFS: Do not reset lease state to NONE on lease breakPavel Shilovsky1-3/+14
2019-03-04cifs: add credits from unmatched responses/messagesRonnie Sahlberg1-7/+0
2019-01-24smb3: add credits we receive from oplock/break PDUsRonnie Sahlberg1-0/+7
2018-09-02smb3: minor debugging clarifications in rfc1001 len processingSteve French1-5/+9
2018-08-23cifs: check if SMB2 PDU size has been padded and suppress the warningRonnie Sahlberg1-0/+7
2018-08-07smb3: simplify code by removing CONFIG_CIFS_SMB311Steve French1-10/+3
2018-06-15smb3: fix corrupt path in subdirs on smb311 with posixSteve French1-1/+2
2018-06-15cifs: add lease tracking to the cached root fidRonnie Sahlberg1-1/+15
2018-06-07CIFS: Fix NULL ptr derefAurelien Aptel1-1/+3
2018-06-02cifs: update multiplex loop to handle compounded responsesRonnie Sahlberg1-0/+1
2018-06-01cifs: remove header_preamble_size where it is always 0Ronnie Sahlberg1-16/+12
2018-06-01cifs: remove struct smb2_hdrRonnie Sahlberg1-1/+1
2018-05-31cifs: change smb2_get_data_area_len to take a smb2_sync_hdr as argumentRonnie Sahlberg1-18/+19
2018-05-31cifs: update smb2_calc_size to use smb2_sync_hdr instead of smb2_hdrRonnie Sahlberg1-6/+4
2018-05-31cifs: remove struct smb2_oplock_break_rspRonnie Sahlberg1-2/+2
2018-05-31smb3: Add posix create context for smb3.11 posix mountsSteve French1-0/+6
2018-05-30cifs: update smb2_check_message to handle PDUs without a 4 byte length headerRonnie Sahlberg1-30/+20
2018-05-27cifs: update calc_size to take a server argumentRonnie Sahlberg1-7/+7
2018-04-12smb3.11: replace a 4 with server->vals->header_preamble_sizeSteve French1-4/+7
2018-04-12SMB3: Fix length checking of SMB3.11 negotiate requestSteve French1-0/+39
2018-04-02cifs: fix sparse warning on previous patch in a few printksSteve French1-3/+3
2018-04-02cifs: add server->vals->header_preamble_sizeRonnie Sahlberg1-9/+10
2018-04-01CIFS: implement v3.11 preauth integrityAurelien Aptel1-0/+64
2018-01-24cifs: remove rfc1002 header from smb2_oplock_break we get from serverRonnie Sahlberg1-1/+1
2017-05-03CIFS: fix oplock break deadlocksRabin Vincent1-2/+3
2017-04-07Handle mismatched open callsSachin Prabhu1-0/+46
2017-02-01CIFS: Separate SMB2 header structurePavel Shilovsky1-28/+33
2016-10-12Clarify locking of cifs file and tcon structures and make more granularSteve French1-8/+8
2016-01-14Prepare for encryption support (first part). Add decryption and encryption ke...Steve French1-6/+30
2015-04-15VFS: normal filesystems (and lustre): d_inode() annotationsDavid Howells1-2/+2
2015-04-01Fix coverity warningSteve French1-1/+1
2014-12-14Convert MessageID in smb2_hdr to LESachin Prabhu1-5/+7
2014-12-10fs/cifs: remove obsolete __constantFabian Frederick1-19/+19
2014-10-16Allow conversion of characters in Mac remap range (part 2)Steve French1-3/+9
2014-08-15[CIFS] Workaround MacOS server problem with SMB2.1 writeSteve French1-1/+16
2014-08-02[CIFS] Fix incorrect hex vs. decimal in some debug print statementsSteve French1-3/+3
2014-04-16cifs: Wait for writebacks to complete before attempting write.Sachin Prabhu1-3/+15
2013-09-09CIFS: Respect epoch value from create lease context v2Pavel Shilovsky1-2/+4
2013-09-09CIFS: Store lease state itself rather than a mapped oplock valuePavel Shilovsky1-19/+11
2013-09-08CIFS: Replace clientCanCache* bools with an integerPavel Shilovsky1-3/+3
2013-09-08CIFS: Fix missing lease breakPavel Shilovsky1-69/+80
2013-09-08CIFS: Fix a memory leak when a lease break comesPavel Shilovsky1-0/+1
2013-09-08CIFS: Implement follow_link for SMB2Pavel Shilovsky1-0/+4
2013-06-26SMB2 FSCTL and IOCTL worker functionSteve French1-0/+4
2013-05-04[CIFS] cifs: Rename cERROR and cFYI to cifs_dbgJoe Perches1-48/+48
2012-09-24Trivial endian fixesSteve French1-2/+3
2012-09-24CIFS: Fix fast lease break after open problemPavel Shilovsky1-5/+69
2012-09-24CIFS: Add SMB2.1 lease break supportPavel Shilovsky1-1/+89
2012-09-24CIFS: Add oplock break support for SMB2Pavel Shilovsky1-2/+74
2012-09-24CIFS: Add readdir support for SMB2Pavel Shilovsky1-1/+7
2012-09-24CIFS: Add SMB2 support for cifs_iovec_readPavel Shilovsky1-0/+3
2012-08-19CIFS: Fix log messages in packet checking for SMB2Pavel Shilovsky1-7/+9
2012-07-24CIFS: Query SMB2 inode infoPavel Shilovsky1-1/+6
2012-07-24CIFS: Add SMB2 support for is_path_accessiblePavel Shilovsky1-0/+25
2012-07-24CIFS: Add session setup/logoff capability for SMB2Pavel Shilovsky1-0/+5
2012-07-24CIFS: Add capability to send SMB2 negotiate messagePavel Shilovsky1-1/+6
2012-07-24CIFS: Make demultiplex_thread work with SMB2 codePavel Shilovsky1-0/+307