Messages in this thread | | | Date | Sun, 18 Apr 2004 14:49:58 +0100 (BST) | From | chris@scary ... | Subject | Re: Nasty 2.6 sendfile() bug / regression; affects vsftpd |
| |
On Sat, 17 Apr 2004, Linus Torvalds wrote:
> Your patch is horribly ugly. How about this (much simpler) patch instead?
Hey, it's a guaranteed way to get your attention ;-)
> Can you test that this one-liner fixes the issue for you?
It certainly does.
Cheers Chris
> ---- > --- 1.37/fs/read_write.c Mon Apr 12 10:54:20 2004 > +++ edited/fs/read_write.c Sat Apr 17 20:09:41 2004 > @@ -635,7 +635,7 @@ > return ret; > } > > - return do_sendfile(out_fd, in_fd, NULL, count, MAX_NON_LFS); > + return do_sendfile(out_fd, in_fd, NULL, count, 0); > } > > asmlinkage ssize_t sys_sendfile64(int out_fd, int in_fd, loff_t __user *offset, size_t count) > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |