help with dev_queue_xmit

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

 



Hi,

I am having some trouble tracing an error in
net/core/dev.c in function dev_queue_xmit.

This is code is called from Xen after live migration to another location to send an unsolicited ARP broadcast to update the new location of the migrating virtual machine.

It sets rc to -2 so that the ARP is not sent.

if (q->enqueue) {
                /* Grab device queue */
                spin_lock(&dev->queue_lock);

                rc = q->enqueue(skb, q);
                qdisc_run(dev);

                spin_unlock(&dev->queue_lock);
                rc = rc == NET_XMIT_BYPASS ? NET_XMIT_SUCCESS : rc;
                goto out;
         }

I am not able to trace where in the code q->enqueue is setting rc to -2 and what does the error mean. Is it because congestion is detected?

Thank you for your help.

Cristian



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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