netdev
[Top] [All Lists]

why memory is wasted in skbuff for received packet skb_alloc?

To: netdev@xxxxxxxxxxx
Subject: why memory is wasted in skbuff for received packet skb_alloc?
From: linux lover <linux_lover2004@xxxxxxxxx>
Date: Sat, 30 Apr 2005 04:27:10 -0700 (PDT)
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=WDS8fdLTivlu9zq+Af8rcw8bFsOBmhtovr4vhPfEa6Icl6ViP9lsj7csfA82exmYvhzDxlFXk61UdYvrIH9BIKjPtXjQSUwcHvkKcesXDQlj374sJqGZQ1rPPqV35UazwHcyTxE1uh/BZyo9H8AD0dUXmY84yHVbm33HICMt2sI= ;
Sender: netdev-bounce@xxxxxxxxxxx
hello,
          In kernel 2.4.30 i observe that when my
ethernet card received packet and uses alloc_skb its
not placing all pointers skb->data,skb->head,skb->tail
to same starting location instead i found it places
skb->data and skb->tail have 10 locations more than
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 by
alloc_skb.

Thanks in advance,
linux_lover

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

<Prev in Thread] Current Thread [Next in Thread>
  • why memory is wasted in skbuff for received packet skb_alloc?, linux lover <=