Revert "net: qrtr: Update packets cloning when broadcasting"

This reverts commit 4e47049a3b.
This commit is contained in:
Ksawlii 2024-11-24 00:23:18 +01:00
parent 34b5adf14b
commit 8c89e5a8e9

View file

@ -863,7 +863,7 @@ static int qrtr_bcast_enqueue(struct qrtr_node *node, struct sk_buff *skb,
mutex_lock(&qrtr_node_lock);
list_for_each_entry(node, &qrtr_all_nodes, item) {
skbn = pskb_copy(skb, GFP_KERNEL);
skbn = skb_clone(skb, GFP_KERNEL);
if (!skbn)
break;
skb_set_owner_w(skbn, skb->sk);