uaccess: fix parameters inversion for __copy_from_user_inatomic()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tue, 16 Sep 2008 01:04:26 +0000 (18:04 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Sep 2008 05:44:46 +0000 (07:44 +0200)
commitfb71e45338453698bd7460f7e8f171ea0304d218
tree382230161077e175e3c1c8f9e2b0632f185cd9c8
parent30742d5c2277c325fb0e9d2d817d55a19995fe8f
uaccess: fix parameters inversion for __copy_from_user_inatomic()

The following patch changes to use __copy_from_user_inatomic(),
but the passing parameters incorrect:

    x86: some lock annotations for user copy paths, v3

This fixes the netfilter crash reported by Steven Noonan.

Reported-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Tested-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/uaccess.h