ieee802154: hwsim: fix rcu handling
authorAlexander Aring <aring@mojatatu.com>
Tue, 7 Aug 2018 23:32:49 +0000 (19:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 01:36:49 +0000 (18:36 -0700)
commit1c9f4a3fce770f194647dd1441502dd5b84ca883
treebf3d055742d70b8f27ab897ec7bfcdd83ed7aeba
parent9c2956d2ad9e0e7d5827290ba9a716ed3fb83bcd
ieee802154: hwsim: fix rcu handling

This patch adds missing rcu_assign_pointer()/rcu_dereference() to used rcu
pointers. There was already a previous commit c5d99d2b35da ("ieee802154:
hwsim: fix rcu address annotation"), but there was more which was
pointed out on my side by using newest sparse version.

Cc: Stefan Schmidt <stefan@datenfreihafen.org>
Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
Signed-off-by: Alexander Aring <aring@mojatatu.com>
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/mac802154_hwsim.c