Detect list corruption at early stage to avoid BUG hitting?
Hi Everyone, Many times we see the following warning, which causes some kernel Bug to hit. I googled for any solution to detect list corruption so as to avoid the bug hit, but couldnt find any. Do you guys have any info ?? Does kernel provide any generic solution to do this? *Warning: list_del corruption. next->prev should be xxxxxx, but was yyyyy. * Regards Ritesh
On Fri, Jan 4, 2013 at 5:49 AM, Ritesh Harjani <ritesh.harjani@gmail.com> wrote:
Hi Everyone,
Many times we see the following warning, which causes some kernel Bug to hit. I googled for any solution to detect list corruption so as to avoid the bug hit, but couldnt find any. Do you guys have any info ?? Does kernel provide any generic solution to do this?
Warning: list_del corruption. next->prev should be xxxxxx, but was yyyyy.
Is your code dealing with lists? If yes, looks like you are using the list API in a wrong manner. E.g. double list_add(). Or your code corrupts memory... -- Thanks, //richard
participants (2)
-
richard -rw- weinberger -
Ritesh Harjani