patch-2.1.86 linux/net/ipv4/rarp.c
Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/ipmr.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Feb 10 12:24:01 1998
- Orig file:
v2.1.85/linux/net/ipv4/rarp.c
- Orig date:
Thu Jan 15 14:33:07 1998
diff -u --recursive --new-file v2.1.85/linux/net/ipv4/rarp.c linux/net/ipv4/rarp.c
@@ -228,7 +228,7 @@
if (rarp->ar_hln != dev->addr_len || dev->type != ntohs(rarp->ar_hrd)
|| dev->flags&IFF_NOARP || !in_dev || !in_dev->ifa_list)
{
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
return 0;
}
@@ -237,7 +237,7 @@
*/
if (rarp->ar_op != htons(ARPOP_RREQUEST))
{
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
return 0;
}
@@ -255,7 +255,7 @@
/*
* This packet is not for us. Remove it.
*/
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
return 0;
}
@@ -287,7 +287,7 @@
dev->dev_addr, sha);
}
- kfree_skb(skb, FREE_READ);
+ kfree_skb(skb);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov