]> git.baikalelectronics.ru Git - kernel.git/commit
net: Use RCU_POINTER_INITIALIZER() to init static variable
authorLi RongQing <lirongqing@baidu.com>
Mon, 25 Feb 2019 02:43:06 +0000 (10:43 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Feb 2019 22:50:22 +0000 (14:50 -0800)
commit29ae1a0bb9282cc60668c8aaa6d413c976d8716c
treef432fb95bd9f0413fd5432af87fb8e9a9292a60a
parent6ed0bae7347095cd1523b3755ecfb35cc175de7c
net: Use RCU_POINTER_INITIALIZER() to init static variable

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/sched/sch_generic.c