]> git.baikalelectronics.ru Git - kernel.git/commit
net: Use RCU_INIT_POINTER() to set sk_wq
authorLi RongQing <lirongqing@baidu.com>
Fri, 22 Feb 2019 09:08:22 +0000 (17:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Feb 2019 20:37:23 +0000 (12:37 -0800)
commit7b0337190a95d4e74d4fa154bb464ba47258a8e1
tree881457ec92c33eb7d5f3d61d94a5b84975d98bff
parent79a3f51a8ed3d37aa810b9e8c229d2f8ed245345
net: Use RCU_INIT_POINTER() to set sk_wq

This pointer is RCU protected, so proper primitives should be used.

Signed-off-by: Zhang Yu <zhangyu31@baidu.com>
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock.c