summaryrefslogtreecommitdiffstats
path: root/sys/dev/null/null.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2003-06-24 19:04:26 +0000
committeriedowse <iedowse@FreeBSD.org>2003-06-24 19:04:26 +0000
commit365585637af54c1ea03c7ac0b7412489717bb5a7 (patch)
tree7250377d0fa80d35c8ef460bf37c6ec77e290dec /sys/dev/null/null.c
parent94d0485e2ea665be34ea6a4ed6c26c597a4e72ec (diff)
downloadFreeBSD-src-365585637af54c1ea03c7ac0b7412489717bb5a7.zip
FreeBSD-src-365585637af54c1ea03c7ac0b7412489717bb5a7.tar.gz
Fix a bug in nfsrv_read() that caused the replies to certain NFSv3
short read operations at the end of a file to not have the "eof" flag set as they should. The problem is that the requested read count was compared against the rounded-up reply data length instead of the actual reply data length. This bug appears to have been introduced in revision 1.78 (June 1999). It causes first-time reads of certain file sizes (e.g 4094 bytes) to fail with EIO on a RedHat 9.0 NFSv3 client. MFC after: 1 week
Diffstat (limited to 'sys/dev/null/null.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud