Re: [PATCH -tip] uaccess: fix parameters inversion for __copy_from_user_inatomic()

From: Steven Noonan
Date: Mon Sep 15 2008 - 21:21:42 EST

On Mon, Sep 15, 2008 at 6:04 PM, Hiroshi Shimamoto
<h-shimamoto@xxxxxxxxxxxxx> wrote:
> From: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>
> The following patch changes to use __copy_from_user_inatomic(),
> but the passing parameters incorrect.
> x86: some lock annotations for user copy paths, v3
> - add annotation back to clear_user()
> - change probe_kernel_address() to _inatomic*() method
> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@xxxxxxxxxxxxx>

Thank you! This issue was causing a kernel panic on my machine when
netfilter was enabled.

- Steven
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at