Re: simple memory malloc and free in ip_output.c

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

 




On 2013年12月27日 11:16, Guibin(Bill) Tian wrote:
> 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);
                          ^^^^^^^^
                         GFP_ATOMIC ?
-- 
八百里秦川尘土飞扬,三千万老陕齐吼秦腔。

--bill

_______________________________________________
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