simple memory malloc and free in ip_output.c
Guibin(Bill) Tian
gbtian at gmail.com
Thu Dec 26 22:16:15 EST 2013
Hi,
I am doing a very simple operation at the method of ip_queue_xmit in
ip_output.c.
The code is very simple.
char *p = kmalloc(48, GFP_KERNEL);
kfree(p);
This will be called every time this method is called.
But the result is that the whole system is not responsive at all. This is a
very simple, not sure what I am doing wrong. Can anybody help?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131226/3b559310/attachment.html
More information about the Kernelnewbies
mailing list