summaryrefslogtreecommitdiffstats
path: root/Documentation/netlabel
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-12-23 02:38:57 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-12-27 20:20:59 +0100
commit6b7e633fe9c24682df550e5311f47fb524701586 (patch)
treecb9c16b9dba5b122889f75ea7097088aaa82af20 /Documentation/netlabel
parentring-buffer: Mask out the info bits when returning buffer page length (diff)
downloadlinux-6b7e633fe9c24682df550e5311f47fb524701586.tar.xz
linux-6b7e633fe9c24682df550e5311f47fb524701586.zip
tracing: Remove extra zeroing out of the ring buffer page
The ring_buffer_read_page() takes care of zeroing out any extra data in the page that it returns. There's no need to zero it out again from the consumer. It was removed from one consumer of this function, but read_buffers_splice_read() did not remove it, and worse, it contained a nasty bug because of it. Cc: stable@vger.kernel.org Fixes: 2711ca237a084 ("ring-buffer: Move zeroing out excess in page to ring buffer code") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/netlabel')
0 files changed, 0 insertions, 0 deletions