why memory wasted in received packet skbuff allocation?

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

 



hello,
          In kernel 2.4.30 i observe that when my
ethernet card received packet and uses alloc_skb its
not placing all skb->data,skb->head,skb->tail to same
statring location instead i found it places skb->data
and skb->tail have 10 locations more that skb->head.
          For what purpose this 10 bytes are reserved
in skbuff also i am not able to see that skb_reserve
as theres no call to skb_reserve and i am printing
skbuff pointer values just after it gets allocated.

Thanks in advance,
linux_lover

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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