Re: [net-next] vxlan: use a more suitable function when assigning NULL

2017-06-07 Thread David Miller
From: Mark Bloch Date: Wed, 7 Jun 2017 14:36:58 +0300 > When stopping the vxlan interface we detach it from the socket. > Use RCU_INIT_POINTER() and not rcu_assign_pointer() to do so. > > Suggested-by: Stephen Hemminger > Signed-off-by: Mark Bloch Applied, thanks Mark.

[net-next] vxlan: use a more suitable function when assigning NULL

2017-06-07 Thread Mark Bloch
When stopping the vxlan interface we detach it from the socket. Use RCU_INIT_POINTER() and not rcu_assign_pointer() to do so. Suggested-by: Stephen Hemminger Signed-off-by: Mark Bloch --- drivers/net/vxlan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/vxl