vxlan: use a more suitable function when assigning NULL
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: NStephen Hemminger <stephen@networkplumber.org> Signed-off-by: NMark Bloch <markb@mellanox.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录