1. 05 9月, 2017 2 次提交
  2. 09 7月, 2017 1 次提交
  3. 06 7月, 2017 1 次提交
  4. 07 4月, 2017 1 次提交
    • S
      Handle mismatched open calls · 38bd4906
      Sachin Prabhu 提交于
      A signal can interrupt a SendReceive call which result in incoming
      responses to the call being ignored. This is a problem for calls such as
      open which results in the successful response being ignored. This
      results in an open file resource on the server.
      
      The patch looks into responses which were cancelled after being sent and
      in case of successful open closes the open fids.
      
      For this patch, the check is only done in SendReceive2()
      
      RH-bz: 1403319
      Signed-off-by: NSachin Prabhu <sprabhu@redhat.com>
      Reviewed-by: NPavel Shilovsky <pshilov@microsoft.com>
      Cc: Stable <stable@vger.kernel.org>
      38bd4906
  5. 03 3月, 2017 1 次提交
  6. 02 3月, 2017 1 次提交
  7. 02 2月, 2017 2 次提交
  8. 06 12月, 2016 1 次提交
    • P
      CIFS: Fix a possible memory corruption during reconnect · 53e0e11e
      Pavel Shilovsky 提交于
      We can not unlock/lock cifs_tcp_ses_lock while walking through ses
      and tcon lists because it can corrupt list iterator pointers and
      a tcon structure can be released if we don't hold an extra reference.
      Fix it by moving a reconnect process to a separate delayed work
      and acquiring a reference to every tcon that needs to be reconnected.
      Also do not send an echo request on newly established connections.
      
      CC: Stable <stable@vger.kernel.org>
      Signed-off-by: NPavel Shilovsky <pshilov@microsoft.com>
      53e0e11e
  9. 18 5月, 2016 1 次提交
  10. 15 1月, 2016 1 次提交
  11. 17 10月, 2014 2 次提交
  12. 06 8月, 2014 1 次提交
  13. 08 2月, 2014 1 次提交
  14. 20 11月, 2013 1 次提交
  15. 12 11月, 2013 1 次提交
  16. 03 11月, 2013 1 次提交
  17. 28 10月, 2013 2 次提交
  18. 10 9月, 2013 1 次提交
  19. 09 9月, 2013 1 次提交
  20. 11 7月, 2013 3 次提交
  21. 27 6月, 2013 1 次提交
    • S
      SMB2 FSCTL and IOCTL worker function · 4a72dafa
      Steve French 提交于
      This worker function is needed to send SMB2 fsctl
      (and ioctl) requests including:
      
      validating negotiation info (secure negotiate)
      querying the servers network interfaces
      copy offload (refcopy)
      
      Followon patches for the above three will use this.
      This patch also does general validation of the response.
      
      In the future, as David Disseldorp notes, for the copychunk ioctl
      case, we will want to enhance the response processing to allow
      returning the chunk request limits to the caller (even
      though the server returns an error, in that case we would
      return data that the caller could use - see 2.2.32.1).
      
      See MS-SMB2 Section 2.2.31 for more details on format of fsctl.
      Acked-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NSteve French <smfrench@gmail.com>
      4a72dafa
  22. 10 12月, 2012 1 次提交
  23. 25 9月, 2012 12 次提交