summaryrefslogtreecommitdiff
path: root/packages/linux/openslug-kernel-2.6.9/usbnet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/openslug-kernel-2.6.9/usbnet.patch')
-rw-r--r--packages/linux/openslug-kernel-2.6.9/usbnet.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/packages/linux/openslug-kernel-2.6.9/usbnet.patch b/packages/linux/openslug-kernel-2.6.9/usbnet.patch
deleted file mode 100644
index a89c392f47..0000000000
--- a/packages/linux/openslug-kernel-2.6.9/usbnet.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- linux-2.6.9/drivers/usb/net/usbnet_orig.c 2005-02-11 19:14:59.455525200 -0500
-+++ linux-2.6.9/drivers/usb/net/usbnet.c 2005-02-11 19:17:29.751676712 -0500
-@@ -2374,12 +2374,13 @@
- #endif
- size = (sizeof (struct ethhdr) + dev->net->mtu);
-
-- if ((skb = alloc_skb (size, flags)) == 0) {
-+ if ((skb = alloc_skb (size + NET_IP_ALIGN, flags)) == NULL) {
- devdbg (dev, "no rx skb");
- defer_kevent (dev, EVENT_RX_MEMORY);
- usb_free_urb (urb);
- return;
- }
-+ skb_reserve (skb, NET_IP_ALIGN);
-
- entry = (struct skb_data *) skb->cb;
- entry->urb = urb;