| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | skb_copy(....) ? |
| From: | Atif Syed <Atif.Syed@xxxxxxxxxxxx> |
| Date: | Thu, 21 Feb 2002 15:22:20 +0100 |
| Organization: | NEC |
| Sender: | owner-netdev@xxxxxxxxxxx |
Dear all, I am trying to copy sk_buffer. skb_new=alloc_skb(sizeof(struct sk_buff) , GFP_ATOMIC); skb_new=pskb_copy(skb,GFP_KERNEL); These lines make hang the kernel. Should i have to allocate memory or only copy the skb to the new one. I am confused after reading the documentation. Thanks in advance for help. Atif Syed NEC Europe Ltd. - Network Laboratories Email: Atif.Syed@xxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] allow 0 protocol for bind() of packet sockets, Jason Lunz |
|---|---|
| Next by Date: | Re: skb_copy(....) ?, Joachim Franek |
| Previous by Thread: | socket API extensions workgroup at OpenGroup needs HELP, Louis Laborde |
| Next by Thread: | Re: skb_copy(....) ?, Joachim Franek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |