]> err.no Git - linux-2.6/commit
via-velocity: use netdev_alloc_skb
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 16 Apr 2008 23:37:31 +0000 (16:37 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 22 May 2008 18:12:50 +0000 (14:12 -0400)
commitc73d2589b784098b2bb6e986c1a7b04e9555fbd3
tree44ddff3852079beaac7dd67aedc0bd636f362b6f
parent47f98c7d4bfc08e5efffd4fe22296044ab4db21e
via-velocity: use netdev_alloc_skb

Use netdev_alloc_skb for rx buffer allocation. This sets skb->dev
and can be overriden for NUMA machines.

Change code to return new buffer rather than call by reference.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/via-velocity.c