summaryrefslogtreecommitdiffstats
path: root/kernel/.gitignore
diff options
context:
space:
mode:
authorDavid Sharp <dhsharp@google.com>2010-01-06 17:12:07 -0800
committerSteven Rostedt <rostedt@goodmis.org>2010-01-06 20:38:25 -0500
commit5ded3dc6a3c7549b36a8ac27bbd81b33756a2c29 (patch)
treee18c745a2b1b147a9222a615e9d0c39e8a6f7938 /kernel/.gitignore
parentc6f7afaeeda5b3c42ea8d7b27e197d223a04675e (diff)
downloadblackbird-obmc-linux-5ded3dc6a3c7549b36a8ac27bbd81b33756a2c29.tar.gz
blackbird-obmc-linux-5ded3dc6a3c7549b36a8ac27bbd81b33756a2c29.zip
ring-buffer: Wrap a list.next reference with rb_list_head()
This reference at the end of rb_get_reader_page() was causing off-by-one writes to the prev pointer of the page after the reader page when that page is the head page, and therefore the reader page has the RB_PAGE_HEAD flag in its list.next pointer. This eventually results in a GPF in a subsequent call to rb_set_head_page() (usually from rb_get_reader_page()) when that prev pointer is dereferenced. The dereferenced register would characteristically have an address that appears shifted left by one byte (eg, ffxxxxxxxxxxxxyy instead of ffffxxxxxxxxxxxx) due to being written at an address one byte too high. Signed-off-by: David Sharp <dhsharp@google.com> LKML-Reference: <1262826727-9090-1-git-send-email-dhsharp@google.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/.gitignore')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud