]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbfea188dbafefca2d1901e9fc83f716394a9ed68
tree81169b2a40c2e6a5a64f728c77aad68bfd75ac04
parent903c7cde9518d1ff6b14ab4ed3ad6598468f01c9
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