diff options
author | 2005-05-05 13:59:37 +0100 | |
---|---|---|
committer | 2005-05-05 13:59:37 +0100 | |
commit | bfd4bda097f8758d28e632ff2035e25577f6b060 (patch) | |
tree | 022276b3625a432c7132e39776e7e448445087ac /net/netlink | |
parent | [AUDIT] Log correct syscall args for i386 processes on x86_64 (diff) | |
parent | [PATCH] drivers/base/bus.c: fix iteration in driver_detach() (diff) | |
download | linux-bfd4bda097f8758d28e632ff2035e25577f6b060.tar.gz linux-bfd4bda097f8758d28e632ff2035e25577f6b060.tar.bz2 linux-bfd4bda097f8758d28e632ff2035e25577f6b060.zip |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 379ed06e60a3..733bf52cef3e 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c @@ -375,7 +375,6 @@ static int netlink_release(struct socket *sock) nlk->cb->done(nlk->cb); netlink_destroy_callback(nlk->cb); nlk->cb = NULL; - __sock_put(sk); } spin_unlock(&nlk->cb_lock); @@ -1102,7 +1101,6 @@ static int netlink_dump(struct sock *sk) spin_unlock(&nlk->cb_lock); netlink_destroy_callback(cb); - __sock_put(sk); return 0; } @@ -1141,7 +1139,6 @@ int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, return -EBUSY; } nlk->cb = cb; - sock_hold(sk); spin_unlock(&nlk->cb_lock); netlink_dump(sk); |