summaryrefslogtreecommitdiff
path: root/patches/0047-write_iter/bluetooth.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0047-write_iter/bluetooth.patch')
-rw-r--r--patches/0047-write_iter/bluetooth.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/0047-write_iter/bluetooth.patch b/patches/0047-write_iter/bluetooth.patch
index 093b526c..5d4ee94c 100644
--- a/patches/0047-write_iter/bluetooth.patch
+++ b/patches/0047-write_iter/bluetooth.patch
@@ -31,7 +31,7 @@
return -ENOMEM;
+#if LINUX_VERSION_IS_GEQ(3,18,0)
- if (copy_from_iter(skb_put(skb, len), len, from) != len) {
+ if (!copy_from_iter_full(skb_put(skb, len), len, from)) {
kfree_skb(skb);
return -EFAULT;
}