summaryrefslogtreecommitdiff
path: root/drivers/net/slhc.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-04-22 22:18:29 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2008-04-25 06:08:56 (GMT)
commit815b97c6b8861f2e539c9ecb44c02b7b8ac11ca4 (patch)
tree3c20709f85fd6dc2fdae869d76527d1c30bf7534 /drivers/net/slhc.c
parent8d74849b91536b126c822968b0f5a1dfd658394d (diff)
downloadlinux-815b97c6b8861f2e539c9ecb44c02b7b8ac11ca4.tar.xz
gianfar: Fix skb allocation strategy
gianfar was unable to handle failed skb allocation for rx buffers, so we were spinning until it succeeded. Actually, it was worse--we were spinning for a long time, and then silently failing. Instead, we take Stephen Hemminger's suggestion to try the allocation earlier, and drop the packet if it failed. We also make a couple of tweaks to how buffer descriptors are set up. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/slhc.c')
0 files changed, 0 insertions, 0 deletions