failure path duplicates kunmap, causing oops holding kmap_lock.
Patch against 2.4.19-rc1, applies at offset to 2.4.19-rc1-ac3,
applies at offset to 2.5.25 but I'll send Linus and Dave later.
--- 2.4.19-rc1/mm/shmem.c Mon Jun 24 19:14:58 2002
fail_write:
status = -EFAULT;
ClearPageUptodate(page);
- kunmap(page);
goto unlock;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/