On Mon, Apr 09, 2001 at 08:39:20AM -0700, Akshay Adhikari wrote: > Hi, > > can someone tell me what the path of an ip packet is > after > you call ip_send (skb)? The problem I am facing is: > > When i call ip_send to send out the packet, the > function returns sucessfully, but soon after this, > i get an skb_under_panic - some function down below is > probably trying to push back the skb->data to attach > the hardware header, and goes back beyond skb->head. You should add skb_reserve(skb, outputdev->hard_header_len) after skb allocation. > I know that ip_send ultimately calls dev_queue_xmit, > but I lost track after that. Does this function only > queue up the packet for transmission and return? It can send direct or queue, depending on various circumstances. -Andi - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org