Query on skb buffer

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

 



My current understanding is that the skb, while being passed along various
layers in linux network stack, will be manipulated majorly, using the
skb->{head|data|tail|end|len} fields. 

Suppose that my application (say 'ping') sends a ICMP echo request with a
large packet size of 4k, i.e. $ ping -s 4096 <dest addr>
Now, if alloc_skb(4096, GFP_KERNEL) is the routine that gets called to allocate
the kernel buffer then, how does the kernel manages such prospective memory 
allocation failures and how kernel manages large packet requests from the
application.

-Amit

_______________________________________________
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