patch-2.1.86 linux/net/netrom/nr_dev.c
Next file: linux/net/netrom/nr_in.c
Previous file: linux/net/netrom/af_netrom.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Tue Feb 10 13:07:49 1998
- Orig file:
v2.1.85/linux/net/netrom/nr_dev.c
- Orig date:
Mon Jan 12 15:28:28 1998
diff -u --recursive --new-file v2.1.85/linux/net/netrom/nr_dev.c linux/net/netrom/nr_dev.c
@@ -123,7 +123,7 @@
if (arp_find(bp + 7, skb)) {
#if 0
/* BUGGGG! If arp_find returned 1, skb does not exist. --ANK*/
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
#endif
return 1;
}
@@ -138,17 +138,17 @@
bp[6] |= AX25_SSSID_SPARE;
if ((skbn = skb_clone(skb, GFP_ATOMIC)) == NULL) {
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
return 1;
}
if (skb->sk != NULL)
skb_set_owner_w(skbn, skb->sk);
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
if (!nr_route_frame(skbn, NULL)) {
- kfree_skb(skbn, FREE_WRITE);
+ kfree_skb(skbn);
stats->tx_errors++;
}
@@ -219,7 +219,7 @@
sti();
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
stats->tx_errors++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov