NFC: Copy user space buffer when sending UI frames
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 29 Oct 2012 13:02:17 +0000 (14:02 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Nov 2012 22:57:00 +0000 (23:57 +0100)
commit6e950fd214645e71e94bce2429bea58b88e1b5d0
tree81169b2a40c2e6a5a64f728c77aad68bfd75ac04
parent08eaa1e0ce5bad11bedd311a9ddc3baf778ee1df
NFC: Copy user space buffer when sending UI frames

Using the userspace IO vector directly is wrong, we should copy it from
user space first.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/commands.c