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

Next file: linux/drivers/sbus/char/sunkbd.c
Previous file: linux/drivers/net/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.97/linux/drivers/net/new_tunnel.c linux/drivers/net/new_tunnel.c
@@ -266,7 +266,7 @@
 		new_skb->h.iph = (struct iphdr *) skb_push(new_skb, tunnel_hlen);
 
 		/* Free the old packet, we no longer need it */
-		kfree_skb(skb, FREE_WRITE);
+		dev_kfree_skb(skb, FREE_WRITE);
 		skb = new_skb;
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this