patch-2.1.86 linux/net/netrom/nr_in.c

Next file: linux/net/netrom/nr_out.c
Previous file: linux/net/netrom/nr_dev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/netrom/nr_in.c linux/net/netrom/nr_in.c
@@ -74,7 +74,7 @@
 
 		while ((skbo = skb_dequeue(&sk->protinfo.nr->frag_queue)) != NULL) {
 			memcpy(skb_put(skbn, skbo->len), skbo->data, skbo->len);
-			kfree_skb(skbo, FREE_READ);
+			kfree_skb(skbo);
 		}
 
 		sk->protinfo.nr->fraglen = 0;		
@@ -246,7 +246,7 @@
 					} else if (nr_in_rx_window(sk, ns)) {
 						skb_queue_tail(&temp_queue, skbn);
 					} else {
-						kfree_skb(skbn, FREE_READ);
+						kfree_skb(skbn);
 					}
 				}
 				while ((skbn = skb_dequeue(&temp_queue)) != NULL) {

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