The patch titled net: use hlist_unhashed() has been added to the -mm tree. Its filename is net-use-hlist_unhashed.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Akinobu Mita <mita@xxxxxxxxxxxxxxxx> Use hlist_unhashed() rather than accessing inside data structure. Signed-off-by: Akinobu Mita <mita@xxxxxxxxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- include/linux/list.h | 2 +- include/net/inet_timewait_sock.h | 2 +- include/net/sock.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff -puN include/linux/list.h~net-use-hlist_unhashed include/linux/list.h --- 25/include/linux/list.h~net-use-hlist_unhashed Mon Apr 24 14:40:19 2006 +++ 25-akpm/include/linux/list.h Mon Apr 24 14:40:19 2006 @@ -619,7 +619,7 @@ static inline void hlist_del_rcu(struct static inline void hlist_del_init(struct hlist_node *n) { - if (n->pprev) { + if (!hlist_unhashed(n)) { __hlist_del(n); INIT_HLIST_NODE(n); } diff -puN include/net/inet_timewait_sock.h~net-use-hlist_unhashed include/net/inet_timewait_sock.h --- 25/include/net/inet_timewait_sock.h~net-use-hlist_unhashed Mon Apr 24 14:40:19 2006 +++ 25-akpm/include/net/inet_timewait_sock.h Mon Apr 24 14:40:19 2006 @@ -150,7 +150,7 @@ static inline void inet_twsk_add_bind_no static inline int inet_twsk_dead_hashed(const struct inet_timewait_sock *tw) { - return tw->tw_death_node.pprev != NULL; + return !hlist_unhashed(&tw->tw_death_node); } static inline void inet_twsk_dead_node_init(struct inet_timewait_sock *tw) diff -puN include/net/sock.h~net-use-hlist_unhashed include/net/sock.h --- 25/include/net/sock.h~net-use-hlist_unhashed Mon Apr 24 14:40:19 2006 +++ 25-akpm/include/net/sock.h Mon Apr 24 14:40:19 2006 @@ -279,7 +279,7 @@ static inline int sk_unhashed(const stru static inline int sk_hashed(const struct sock *sk) { - return sk->sk_node.pprev != NULL; + return !sk_unhashed(sk); } static __inline__ void sk_node_init(struct hlist_node *node) _ Patches currently in -mm which might be from mita@xxxxxxxxxxxxxxxx are net-use-hlist_unhashed.patch use-list_add_tail-instead-of-list_add.patch use-list_add_tail-instead-of-list_add-fix.patch arch-use-list_move.patch core-use-list_move.patch net-rxrpc-use-list_move.patch drivers-use-list_move.patch fs-use-list_move.patch reiser4fs-use-list_move.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html