Linux.com

Squier

Squier

  • Linux.com Member
  • Posts: 1
  • Member Since: 09 Jul 10
  • Last Logged In: 14 Jul 10

Latest Posts

Posted by
Topic
Post Preview
Posted
  • Squier
    Ping and Network driver
    I have two question. 1)I have my network driver: [i]mynet0[/i], his ip address: [i]192.168.1.0[/i]. Why, when i call [i]ping -I mynet0 192.168.1.0[/i] function [i]ndo_start_xmit[/i] from [i]struct net_device_ops[/i] is not caused, and this function is caused only when i call ping -I mynet0 192.168.1.X, where X != 0? 2) Why if i return [i]NETDEV_TX_BUSY[/i] or [i]NETDEV_TX_LOCKED[/i] in function [i]ndo_start_xmit[/i] kernel crashed?
    Link to this post 10 Jul 10

    I have two question.

    1)I have my network driver: mynet0, his ip address: 192.168.1.0. Why, when i call ping -I mynet0 192.168.1.0 function ndo_start_xmit from struct net_device_ops is not caused, and this function is caused only when i call ping -I mynet0 192.168.1.X, where X != 0?

    2) Why if i return NETDEV_TX_BUSY or NETDEV_TX_LOCKED in function ndo_start_xmit kernel crashed?

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board