aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-09-24 10:25:40 -0700
committerDavid S. Miller <davem@davemloft.net>2013-09-30 14:22:59 -0400
commit559835ea7292e2f09304d81eda16f4209433245e (patch)
tree516a56d352969181deffa05466c7a0cfd0e15dc1 /Documentation
parent9a3bab6b05383f1e4c3716b3615500c51285959e (diff)
downloadkernel_goldelico_gta04-559835ea7292e2f09304d81eda16f4209433245e.zip
kernel_goldelico_gta04-559835ea7292e2f09304d81eda16f4209433245e.tar.gz
kernel_goldelico_gta04-559835ea7292e2f09304d81eda16f4209433245e.tar.bz2
vxlan: Use RCU apis to access sk_user_data.
Use of RCU api makes vxlan code easier to understand. It also fixes bug due to missing ACCESS_ONCE() on sk_user_data dereference. In rare case without ACCESS_ONCE() compiler might omit vs on sk_user_data dereference. Compiler can use vs as alias for sk->sk_user_data, resulting in multiple sk_user_data dereference in rcu read context which could change. CC: Jesse Gross <jesse@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions