net: add __pskb_copy_fclone and pskb_copy_for_clone
[deliverable/linux.git] / net / nfc / rawsock.c
index 55eefee311ebf48ab537ab44c78724f036618451..11c3544ea5466f54f8038ca19f500a831d1ca79f 100644 (file)
@@ -378,8 +378,8 @@ void nfc_send_to_raw_sock(struct nfc_dev *dev, struct sk_buff *skb,
 
        sk_for_each(sk, &raw_sk_list.head) {
                if (!skb_copy) {
-                       skb_copy = __pskb_copy(skb, NFC_RAW_HEADER_SIZE,
-                                    GFP_ATOMIC);
+                       skb_copy = __pskb_copy_fclone(skb, NFC_RAW_HEADER_SIZE,
+                                                     GFP_ATOMIC, true);
                        if (!skb_copy)
                                continue;
 
This page took 0.025575 seconds and 5 git commands to generate.