Testing network kernel module

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

 



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
_______________________________________________
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