A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

July 10, 2010

Ping and Network driver

I have two question.

1)I have my network driver: mynet0, his ip address: Why, when i call ping -I mynet0 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?

Click Here!