projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ad543d
)
[PATCH] fix gl_skb/skb type error in genelink driver in usbnet
author
lepton
<ytht.net@gmail.com>
Mon, 22 Aug 2005 06:02:39 +0000
(14:02 +0800)
committer
Chris Wright
<chrisw@osdl.org>
Mon, 29 Aug 2005 16:55:12 +0000
(09:55 -0700)
I think there is a type error when port genelink driver to 2.6..
With this error, a linux host will panic when it link with a windows
host.
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
drivers/usb/net/usbnet.c
patch
|
blob
|
history
diff --git
a/drivers/usb/net/usbnet.c
b/drivers/usb/net/usbnet.c
index 4cbb408af72749b5f2f432c10bac69ebe4e2e1b7..0b8c25c3f432134bf1c769711a680728874990df 100644
(file)
--- a/
drivers/usb/net/usbnet.c
+++ b/
drivers/usb/net/usbnet.c
@@
-1922,7
+1922,7
@@
static int genelink_rx_fixup (struct usbnet *dev, struct sk_buff *skb)
// copy the packet data to the new skb
memcpy(skb_put(gl_skb, size), packet->packet_data, size);
- skb_return (dev, skb);
+ skb_return (dev,
gl_
skb);
}
// advance to the next packet