diff --git a/[refs] b/[refs] index 17a5171dfef3..b2061c912e0d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 66655de6d132b726be64c324bc3f9ea366d20697 +refs/heads/master: c4146644a56b1f213c4c5567c75771883bec33c7 diff --git a/trunk/include/net/sock.h b/trunk/include/net/sock.h index 3f1a4804bb3f..c8d400063c16 100644 --- a/trunk/include/net/sock.h +++ b/trunk/include/net/sock.h @@ -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);