Re: [PATCH net-next RESEND 0/2] fix rculist sparse errors

2014-12-10 Thread David Miller
From: Ying Xue Date: Wed, 10 Dec 2014 16:46:05 +0800 > When hlist_for_each_entry_continue_rcu_bh() gets "next" pointer of > hlist_node structure through rcu_dereference_bh(), sparse warning > appears as the "next" pointer is not annotated as __rcu. So if > the "next" pointer is accessed with hlis

[PATCH net-next RESEND 0/2] fix rculist sparse errors

2014-12-10 Thread Ying Xue
When hlist_for_each_entry_continue_rcu_bh() gets "next" pointer of hlist_node structure through rcu_dereference_bh(), sparse warning appears as the "next" pointer is not annotated as __rcu. So if the "next" pointer is accessed with hlist_next_rcu() macro, the __rcu annotation will be added to the p