Ftpd problems

Yar Tikhiy yar at comp.chem.msu.su
Fri Feb 3 07:35:48 PST 2006


On Thu, Feb 02, 2006 at 04:56:26PM +0200, Iassen Anadoliev wrote:
> Yar Tikhiy writes:
> >>
> >>We seem to have got a bug in sendfile(2).  Besides bin/89100, there
> >>is kern/92243 on it.  The problem is rather unpleasant and it's in
> >>the kernel, not in ftpd(8).
> >
> >Would you mind trying the attached kernel patch?  Note that you'll
> >need to rebuild the modules along with the kernel after applying the
> >patch.  Thanks in advance!
>
> Thanks for the patch it seems to work:
> 
> fetch  ftp://test:test@ibiza.korio.org/usr/src/test.zero
> test.zero                                     100% of 4293 MB 4255 kBps 
> 00m00s
> 
> >The patch is against HEAD.  In case it fails to apply, just change
> >the type of the 2nd argument to vnode_create_vobject from size_t to
> >off_t in the .h and .c files -- that's the essence.
> 
> uname -a
> FreeBSD ibiza.ma3x.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Thu Feb  2 
> 15:19:27 EET 2006     root at ibiza.ma3x.net:/usr/obj/usr/src/sys/STENLY  i386

Thank you for testing my patch, now I'll do my best to get it into 6.1-RELEASE.

-- 
Yar


More information about the freebsd-net mailing list