[PATCH] vfs_cifs propagate upstream connection closure

Sam Liddicott sam at liddicott.com
Thu Mar 26 11:21:09 GMT 2009


The CHECK_UPSTREAM_OPEN macro as called by SETUP_PID will detect
upstream connection closure only when a proxied response arrives.

This patch uses the transport_dead callback to actively close
the incoming connection right away, even when there are no
pending proxied responses.

Signed-off-by: Sam Liddicott <sam at liddicott.com>
---
 source4/ntvfs/cifs/vfs_cifs.c |   47
+++++++++++++++++++++++++++++++++++++++++
 1 files changed, 47 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 56a5c7c1f2d7919f2f6855461826ad67743e95d2.diff
Type: text/x-patch
Size: 3241 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090326/de37a721/56a5c7c1f2d7919f2f6855461826ad67743e95d2.bin


More information about the samba-technical mailing list