Re: Re: [PATCH V2 0/2] [BUGFIX] virtio/console: Fix two bugs of splice_write

2013-07-21 Thread Yoshihiro YUNOMAE
Hi Amit, Sorry for the late reply. (2013/07/19 19:05), Amit Shah wrote: On (Fri) 19 Jul 2013 [18:19:51], Yoshihiro YUNOMAE wrote: Hi, This patch set fixes two bugs of splice_write in the virtio-console driver. [BUG1] Although pipe->nrbufs is empty, the driver tries to do splice_write.

Re: [PATCH V2 0/2] [BUGFIX] virtio/console: Fix two bugs of splice_write

2013-07-19 Thread Amit Shah
On (Fri) 19 Jul 2013 [18:19:51], Yoshihiro YUNOMAE wrote: > Hi, > > This patch set fixes two bugs of splice_write in the virtio-console driver. > > [BUG1] Although pipe->nrbufs is empty, the driver tries to do splice_write. >=> This induces oops in sg_init_table(). > > [BUG2] No lock for