]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/net/usbnet.c
[PATCH] usbnet oops fix
[linux-2.6-omap-h63xx.git] / drivers / usb / net / usbnet.c
index 576f3b852fce39ccfff151704c1447b883e1703f..4528a00c45b010f8ad6ef103e5eaae6ba8ae83a1 100644 (file)
@@ -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