commit | 4fc29989835ab7379f807854b5f7338b752b9f1a | [log] [tgz] |
---|---|---|
author | Yajun Deng <yajun.deng@linux.dev> | Sat Sep 18 14:36:07 2021 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 19 12:56:02 2021 +0100 |
tree | 129d9b2d493ca913acc2b20e15f1c7c9cf5aa119 | |
parent | 9ce4e3d6d85600153e61c4b8c3c346bd84d84470 [diff] |
net: rtnetlink: convert rcu_assign_pointer to RCU_INIT_POINTER It no need barrier when assigning a NULL value to an RCU protected pointer. So use RCU_INIT_POINTER() instead for more fast. Signed-off-by: Yajun Deng <yajun.deng@linux.dev> Signed-off-by: David S. Miller <davem@davemloft.net>