Home
last modified time | relevance | path

Searched refs:skbcopy (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00debug.c164 struct sk_buff *skbcopy; in rt2x00debug_dump_frame() local
183 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame()
185 if (!skbcopy) { in rt2x00debug_dump_frame()
190 dump_hdr = (struct rt2x00dump_hdr *)skb_put(skbcopy, sizeof(*dump_hdr)); in rt2x00debug_dump_frame()
205 memcpy(skb_put(skbcopy, skbdesc->desc_len), skbdesc->desc, in rt2x00debug_dump_frame()
207 memcpy(skb_put(skbcopy, skb->len), skb->data, skb->len); in rt2x00debug_dump_frame()
209 skb_queue_tail(&intf->frame_dump_skbqueue, skbcopy); in rt2x00debug_dump_frame()