patch-2.0.34 linux/drivers/net/new_tunnel.c

Next file: linux/drivers/net/pcnet32.c
Previous file: linux/drivers/net/ne2k-pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.33/linux/drivers/net/new_tunnel.c linux/drivers/net/new_tunnel.c
@@ -267,7 +267,7 @@
 
 		/* Tack on our header */
 		new_skb->h.iph = (struct iphdr *) skb_push(new_skb, tunnel_hlen);
-		new_skb->mac.raw = new_skb->ip_hdr;
+		new_skb->mac.raw = (void *)new_skb->ip_hdr;
 
 		/* Free the old packet, we no longer need it */
 		dev_kfree_skb(skb, FREE_WRITE);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov