Testing network kernel module

Julio Faracco jcfaracco at gmail.com
Mon Dec 29 08:13:03 EST 2014


Hi everyone.

Does anyone know a good way to test the tx_timeout function from the
net_device_ops struct?

In other words, I want to force a timeout exception to check if my code is
doing what I expect.

To test it, I'm avoiding the clean up of the output buffer. So, when the
buffer is full the module throws a timeout exception. But, I'm not right if
it is the right way to test it or simulate a timeout.

Suggestions?

Thanks!

*--*
*Julio Cesar Faracco*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141229/e93b636f/attachment-0001.html 


More information about the Kernelnewbies mailing list