Messages in this thread | | | Date | Wed, 25 Aug 1999 01:02:02 +0200 | From | Henner Eisen <> | Subject | dev_alloc_skb() magic headroom |
| |
Hi,
dev_alloc_skb() allocates and reserves 16 extra bytes at the skbuff's head. Is this just some magic code (for cache optimization, protection against buggy drivers, ... what then???) subject to change or can users (e.g. when allocating downstream skb's) rely on dev_alloc_skb() always returning an skb with 16 extra bytes reserved at the buffer head?
I thought dev_alloc_skb() is primarily intended for network device driver's interrupt handlers when allocation the upstream skb's (the header won't grow when passed upstream). Is this true?
Henner
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |