<div>Hi</div><div> </div><div>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.</div>
<div> </div><div>I am not sure what is the exact modification needed to avoid these kernel messages. Can you someone help on this.</div><div> </div><div>Exact code I have in my driver code:<br></div><div>tx_len is length of the packet to be transmitted</div>
<div>tx_packet is the pointer to packet container. </div><div> </div><div> </div><div> skb = dev_alloc_skb(tx_len);<br> if (skb == NULL)<br> return -1;<br></div><div> skb_put(skb,tx_len);</div><div> </div><div>
memcpy(skb->data, tx_packet, tx_len);</div><div><br> skb->dev = dev_my_device;</div><div><br> skb->len = tx_len;</div><div><br> dev_queue_xmit(skb);<br></div><div> dev_put ( dev_my_device);<br></div><div>
return 0;<br></div><div> </div><div>Thank you.<br clear="all"><br>-- <br>Regards,<br>S. Sengottuvelan.
</div>