[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/42175 CVS commit: [netbsd-5] src/sys/netsmb
The following reply was made to PR kern/42175; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%netbsd.org@localhost>
Subject: PR/42175 CVS commit: [netbsd-5] src/sys/netsmb
Date: Tue, 27 Oct 2009 20:31:15 +0000
Module Name: src
Committed By: bouyer
Date: Tue Oct 27 20:31:15 UTC 2009
src/sys/netsmb [netbsd-5]: smb_smb.c
Pull up following revision(s) (requested by tron in ticket #1104):
sys/netsmb/smb_smb.c: revision 1.31
sys/netsmb/smb_smb.c: revision 1.32
Fix detection of SMB capabilities according to the CIFS spec:
1.) SMB_CAP_LARGE_FILES advertises support for 64-bit file offsets.
2.) SMB_CAP_LARGE_READX and SMB_CAP_LARGE_WRITEX advertise support for
large reads and writes (larger than 64KB).
The code previously only used SMB_CAP_LARGE_READX and SMB_CAP_LARGE_WRITEX
which is not correct and doesn't work for the Apple Time Capsule which
only supports SMB_CAP_LARGE_FILES. With these changes SMBFS can copy a
5GB to a Time Capsule and read it back without problems.
Thanks a lot to Allen Briggs for pointing out the broke assumptions
and explaining the CIFS spec to me. This fixes PR kern/42175.
Fix cut & paste error spotted by Nicolas Joly.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r18.104.22.168 src/sys/netsmb/smb_smb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |