Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-19 Thread Al Viro
On Fri, Mar 18, 2016 at 03:49:14PM -0400, Steven Rostedt wrote: > On Tue, 15 Mar 2016 00:23:20 -0700 > Christoph Hellwig wrote: > > > Looks fine, > > > > Reviewed-by: Christoph Hellwig > > What tree should this go in? Picked in vfs.git, will push to

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-19 Thread Al Viro
On Fri, Mar 18, 2016 at 03:49:14PM -0400, Steven Rostedt wrote: > On Tue, 15 Mar 2016 00:23:20 -0700 > Christoph Hellwig wrote: > > > Looks fine, > > > > Reviewed-by: Christoph Hellwig > > What tree should this go in? Picked in vfs.git, will push to git.kernel.org shortly

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-19 Thread Steven Rostedt
On Tue, 15 Mar 2016 00:23:20 -0700 Christoph Hellwig wrote: > Looks fine, > > Reviewed-by: Christoph Hellwig What tree should this go in? -- Steve

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-19 Thread Steven Rostedt
On Tue, 15 Mar 2016 00:23:20 -0700 Christoph Hellwig wrote: > Looks fine, > > Reviewed-by: Christoph Hellwig What tree should this go in? -- Steve

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-18 Thread Steven Rostedt
On Thu, 10 Mar 2016 21:19:06 +0100 Rabin Vincent wrote: > Running the following command: > > busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null > > with any tracing enabled pretty very quickly leads to various NULL > pointer dereferences and VM BUG_ON()s, such as

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-18 Thread Steven Rostedt
On Thu, 10 Mar 2016 21:19:06 +0100 Rabin Vincent wrote: > Running the following command: > > busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null > > with any tracing enabled pretty very quickly leads to various NULL > pointer dereferences and VM BUG_ON()s, such as these: > > BUG:

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-15 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

Re: [PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-15 Thread Christoph Hellwig
Looks fine, Reviewed-by: Christoph Hellwig

[PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-10 Thread Rabin Vincent
Running the following command: busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null with any tracing enabled pretty very quickly leads to various NULL pointer dereferences and VM BUG_ON()s, such as these: BUG: unable to handle kernel NULL pointer dereference at 0020 IP:

[PATCH] splice: handle zero nr_pages in splice_to_pipe()

2016-03-10 Thread Rabin Vincent
Running the following command: busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null with any tracing enabled pretty very quickly leads to various NULL pointer dereferences and VM BUG_ON()s, such as these: BUG: unable to handle kernel NULL pointer dereference at 0020 IP: