From: Nick Piggin Date: Thu, 15 Nov 2007 11:32:04 +0000 (+0100) Subject: slob: fix memory corruption X-Git-Tag: v2.6.24-rc3~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d32ddd8f20e7d7a49c45c337c2079be03c77dc41;p=pandora-kernel.git slob: fix memory corruption Previously, it would be possible for prev->next to point to &free_slob_pages, and thus we would try to move a list onto itself, and bad things would happen. It seems a bit hairy to be doing list operations with the list marker as an entry, rather than a head, but... this resolves the following crash: http://bugzilla.kernel.org/show_bug.cgi?id=9379 Signed-off-by: Nick Piggin Signed-off-by: Ingo Molnar Acked-by: Matt Mackall Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed