Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1266544
| From | Miklos Szeredi <miklos@szeredi.hu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] fuse: break infinite loop in fuse_fill_write_pages() |
| Date | 2015-11-10 15:50 +0100 |
| Message-ID | <qtipb-6iz-1@gated-at.bofh.it> (permalink) |
| References | <qgiQ1-735-3@gated-at.bofh.it> <qiLuy-ok-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Oct 12, 2015 at 3:33 PM, Roman Gushchin <klamm@yandex-team.ru> wrote: > I got a report about unkillable task eating CPU. Further > investigation shows, that the problem is in the fuse_fill_write_pages() > function. If iov's first segment has zero length, we get an infinite > loop, because we never reach iov_iter_advance() call. > > Fix this by calling iov_iter_advance() before repeating an attempt to > copy data from userspace. Thanks, queued in git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next Miklos -- 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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2] fuse: break infinite loop in fuse_fill_write_pages() Miklos Szeredi <miklos@szeredi.hu> - 2015-11-10 15:50 +0100
csiph-web