Problem with packet transmission

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have a problem with packet transmission. I have a virtual network device driver, which drives on back of eth0. The driver, (along with a small packet listener) recieves and sends packets without any problem, asynchronously.


The problem creeps in, when a reply packet is generated. ie., when a packet has to be sent immediately after the arrival of another packet. The reply packet doesnt get transmitted.

This, I suppose is not a problem with my driver, as this packet is queued for transmission for eth0 using "dev_queue_xmit(skb);" , with skb->dev set as eth0 device. ethereal shows that the packet in the eth0 device queue. But, the packet doesnt appear on the wire.

This might be a problem with some spinlock,... in the driver.

Can I call dev_queue_xmit at any time?. (I think timing is the problem.)

any reply would be useful.

Thanks in advance,
Vij

--
*****************************************************************
        V.Vijayakumar   http://www.it.iitb.ac.in/~vij/

  "Anything less than a conscious commitment to the important
       is an unconscious commitment to the unimportant."
*****************************************************************



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux