Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 835
b: refs/heads/master
c: 96c3602
h: refs/heads/master
i:
  833: fd3d880
  831: bdff3b8
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed May 3, 2005
1 parent 03dc4e9 commit 12682c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9dfa277f88388a94993b121db46b80df66f48d9e
refs/heads/master: 96c36023434b7b6824b1da72a6b7b1ca61d7310c
3 changes: 0 additions & 3 deletions trunk/net/netlink/af_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,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);

Expand Down Expand Up @@ -1099,7 +1098,6 @@ static int netlink_dump(struct sock *sk)
spin_unlock(&nlk->cb_lock);

netlink_destroy_callback(cb);
__sock_put(sk);
return 0;
}

Expand Down Expand Up @@ -1138,7 +1136,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);
Expand Down

0 comments on commit 12682c4

Please sign in to comment.