Re: [PATCH] net/ipv4/igmp.c: Replace rcu_dereference() with rcu_access_pointer()
From: David Miller
Date: Fri Aug 22 2014 - 15:28:18 EST
From: Andreea-Cristina Bernat <bernat.ada@xxxxxxxxx>
Date: Sun, 17 Aug 2014 15:49:41 +0300
> The "rcu_dereference()" call is used directly in a condition.
> Since its return value is never dereferenced it is recommended to use
> "rcu_access_pointer()" instead of "rcu_dereference()".
> Therefore, this patch makes the replacement.
...
> Signed-off-by: Andreea-Cristina Bernat <bernat.ada@xxxxxxxxx>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/