diff options
| author | tron <tron@NetBSD.org> | 2009-10-18 22:53:36 +0000 |
|---|---|---|
| committer | tron <tron@NetBSD.org> | 2009-10-18 22:53:36 +0000 |
| commit | 9c260cf3490c1f379967fd3df36a11e71d5c7cce (patch) | |
| tree | 9d5fb2bbe055d858518d159bfc9011e5dcb43a12 /sys/dev/microcode/tools/bin2blob.c | |
| parent | f6e34e608b7d306d1bd24a4d18a3e99e41478d8c (diff) | |
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.
Diffstat (limited to 'sys/dev/microcode/tools/bin2blob.c')
0 files changed, 0 insertions, 0 deletions
