]> err.no Git - linux-2.6/commit
[NET]: Add netdev_alloc_skb().
authorChristoph Hellwig <hch@lst.de>
Tue, 1 Aug 2006 05:35:23 +0000 (22:35 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 2 Aug 2006 20:38:25 +0000 (13:38 -0700)
commit8af2745645243b5e5b031504a643bf2158571dc7
tree32bf05d47473c2b586daee33f343e0eea1bbf943
parent52499afe40387524e9f46ef9ce4695efccdd2ed9
[NET]: Add netdev_alloc_skb().

Add a dev_alloc_skb variant that takes a struct net_device * paramater.
For now that paramater is unused, but I'll use it to allocate the skb
from node-local memory in a follow-up patch.  Also there have been some
other plans mentioned on the list that can use it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c