Re: [PATCH] ipv6: sit: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-27 Thread David Miller
From: Andreea-Cristina Bernat Date: Tue, 26 Aug 2014 16:46:32 +0300 > According to RCU_INIT_POINTER()'s block comment 3.a, it can be used if > "3. The referenced data structure has already been exposed to readers either > at compile time or via rcu_assign_pointer() -and- > a. You have not

Re: [PATCH] ipv6: sit: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-27 Thread David Miller
From: Andreea-Cristina Bernat bernat@gmail.com Date: Tue, 26 Aug 2014 16:46:32 +0300 According to RCU_INIT_POINTER()'s block comment 3.a, it can be used if 3. The referenced data structure has already been exposed to readers either at compile time or via rcu_assign_pointer() -and- a.

[PATCH] ipv6: sit: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-26 Thread Andreea-Cristina Bernat
According to RCU_INIT_POINTER()'s block comment 3.a, it can be used if "3. The referenced data structure has already been exposed to readers either at compile time or via rcu_assign_pointer() -and- a. You have not made -any- reader-visible changes to this structure since then". This case

[PATCH] ipv6: sit: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2014-08-26 Thread Andreea-Cristina Bernat
According to RCU_INIT_POINTER()'s block comment 3.a, it can be used if 3. The referenced data structure has already been exposed to readers either at compile time or via rcu_assign_pointer() -and- a. You have not made -any- reader-visible changes to this structure since then. This case