patch-2.1.86 linux/net/x25/x25_link.c

Next file: linux/net/x25/x25_out.c
Previous file: linux/net/x25/x25_in.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/x25/x25_link.c linux/net/x25/x25_link.c
@@ -225,7 +225,7 @@
 void x25_transmit_link(struct sk_buff *skb, struct x25_neigh *neigh)
 {
 	if (call_fw_firewall(PF_X25, skb->dev, skb->data, NULL, &skb) != FW_ACCEPT) {
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 		return;
 	}
 
@@ -304,7 +304,7 @@
 	struct sk_buff *skb;
 
 	while ((skb = skb_dequeue(&x25_neigh->queue)) != NULL)
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 
 	x25_stop_t20timer(x25_neigh);
 

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