patch-2.1.86 linux/net/ipv6/ndisc.c
Next file: linux/net/ipv6/raw.c
Previous file: linux/net/ipv6/ip6_output.c
Back to the patch index
Back to the overall index
- Lines: 54
- Date:
Tue Feb 10 13:07:49 1998
- Orig file:
v2.1.85/linux/net/ipv6/ndisc.c
- Orig date:
Thu Jan 15 14:33:07 1998
diff -u --recursive --new-file v2.1.85/linux/net/ipv6/ndisc.c linux/net/ipv6/ndisc.c
@@ -320,7 +320,7 @@
}
if (ndisc_build_ll_hdr(skb, dev, daddr, neigh, len) == 0) {
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
return;
}
@@ -384,7 +384,7 @@
}
if (ndisc_build_ll_hdr(skb, dev, daddr, neigh, len) == 0) {
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
return;
}
@@ -434,7 +434,7 @@
}
if (ndisc_build_ll_hdr(skb, dev, daddr, NULL, len) == 0) {
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
return;
}
@@ -489,7 +489,7 @@
* destination unreachable"
*/
icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_ADDR_UNREACH, 0, skb->dev);
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
}
static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb)
@@ -831,7 +831,7 @@
hlen = 0;
if (ndisc_build_ll_hdr(buff, dev, &skb->nh.ipv6h->saddr, NULL, len) == 0) {
- kfree_skb(buff, FREE_WRITE);
+ kfree_skb(buff);
return;
}
@@ -909,7 +909,7 @@
{
ndisc_rcv(skb, skb->dev, &skb->nh.ipv6h->saddr, &skb->nh.ipv6h->daddr,
NULL, skb->len);
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
}
int ndisc_rcv(struct sk_buff *skb, struct device *dev,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov