]> 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)
commit945235cadac943874fb8ff5069bf87a276bedbf0
tree81169b2a40c2e6a5a64f728c77aad68bfd75ac04
parentb4390afe063f0b2a1338cf5780956a45ab0b9a2b
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