Kernel warning messages- protocol 0000 is buggy, dev eth0

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

 



Hi
 
I am getting kernel messages = "protocol 0000 is buggy, dev eth0" in my kernel while calling   dev_queue_xmit(skb);. The packet is successfully tranmitted on the wire but these messages are keep coming on the console.
 
I am not sure what is the exact modification needed to avoid these kernel messages. Can you someone help on this.
 
Exact code I have in my driver code:
tx_len is length of the  packet to be transmitted
tx_packet is the pointer to packet container. 
 
 
   skb = dev_alloc_skb(tx_len);
    if (skb == NULL)
      return -1;
   skb_put(skb,tx_len);
 
   memcpy(skb->data, tx_packet, tx_len);

   skb->dev = dev_my_device;

   skb->len = tx_len;

  dev_queue_xmit(skb);
  dev_put ( dev_my_device);
  return 0;
 
Thank you.

--
Regards,
S. Sengottuvelan.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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