patch-2.1.87 linux/net/netlink/af_netlink.c
Next file: linux/scripts/Configure
Previous file: linux/net/ipv6/route.c
Back to the patch index
Back to the overall index
- Lines: 47
- Date:
Wed Feb 11 16:16:43 1998
- Orig file:
v2.1.86/linux/net/netlink/af_netlink.c
- Orig date:
Mon Jan 12 15:28:28 1998
diff -u --recursive --new-file v2.1.86/linux/net/netlink/af_netlink.c linux/net/netlink/af_netlink.c
@@ -370,7 +370,7 @@
if (nonblock) {
sti();
netlink_unlock(sk);
- kfree_skb(skb, 0);
+ kfree_skb(skb);
return -EAGAIN;
}
interruptible_sleep_on(sk->sleep);
@@ -378,7 +378,7 @@
sti();
if (signal_pending(current)) {
- kfree_skb(skb, 0);
+ kfree_skb(skb);
return -ERESTARTSYS;
}
goto retry;
@@ -392,7 +392,7 @@
netlink_unlock(sk);
return len;
}
- kfree_skb(skb, 0);
+ kfree_skb(skb);
return -ECONNREFUSED;
}
@@ -466,8 +466,8 @@
netlink_unlock_table(protocol, allocation == GFP_KERNEL);
if (skb2)
- kfree_skb(skb2, 0);
- kfree_skb(skb, 0);
+ kfree_skb(skb2);
+ kfree_skb(skb);
}
void netlink_set_err(struct sock *ssk, pid_t pid, unsigned group, int code)
@@ -630,7 +630,7 @@
static void netlink_destroy_callback(struct netlink_callback *cb)
{
if (cb->skb)
- kfree_skb(cb->skb, 0);
+ kfree_skb(cb->skb);
kfree(cb);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov