Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183981
b: refs/heads/master
c: c414664
h: refs/heads/master
i:
  183979: f46f339
v: v3
  • Loading branch information
Li Zefan authored and David S. Miller committed Feb 10, 2010
1 parent 8e41ebf commit 2168e5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 66655de6d132b726be64c324bc3f9ea366d20697
refs/heads/master: c4146644a56b1f213c4c5567c75771883bec33c7
5 changes: 5 additions & 0 deletions trunk/include/net/sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,11 @@ struct sock {
/*
* Hashed lists helper routines
*/
static inline struct sock *sk_entry(const struct hlist_node *node)
{
return hlist_entry(node, struct sock, sk_node);
}

static inline struct sock *__sk_head(const struct hlist_head *head)
{
return hlist_entry(head->first, struct sock, sk_node);
Expand Down

0 comments on commit 2168e5e

Please sign in to comment.