aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSven Eckelmann <[email protected]>2016-09-29 17:22:58 +0200
committerSimon Wunderlich <[email protected]>2016-10-17 16:10:53 +0200
commit9ca488dd53088d4fcc97258aeeccf21f63b7da1e (patch)
tree3bb060702d0fa1d2067c224cf3319d0a9b276607 /net/unix/sysctl_net_unix.c
parent29fbff8698fc0ac1a1d74584b258e0bf18b469f9 (diff)
batman-adv: Modify neigh_list only with rcu-list functions
The batadv_hard_iface::neigh_list is accessed via rcu based primitives. Thus all operations done on it have to fulfill the requirements by RCU. So using non-RCU mechanisms like hlist_add_head is not allowed because it misses the barriers required to protect concurrent readers when accessing the data behind the pointer. Fixes: cef63419f7db ("batman-adv: add list of unique single hop neighbors per hard-interface") Signed-off-by: Sven Eckelmann <[email protected]> Acked-by: Linus Lüssing <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions