On Wednesday 20 April 2011 15:43:34 Marek Lindner wrote:
> The rcu protected macros rcu_dereference() and rcu_assign_pointer()
> for the bat_priv->primary_if need to be used, as well as spin/rcu locking.
>
> Otherwise we might end up using a primary_if pointer pointing to already
> freed memory.
The rcu protected macros rcu_dereference() and rcu_assign_pointer()
for the bat_priv->primary_if need to be used, as well as spin/rcu locking.
Otherwise we might end up using a primary_if pointer pointing to already
freed memory.
Signed-off-by: Marek Lindner
---
gateway_client.c| 33 +