summaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2018-03-08 10:29:30 +0100
committerDavid S. Miller <davem@davemloft.net>2018-03-08 11:12:43 -0500
commitae5799dc7ec77fe0382d58cdcba9f6d1204157ae (patch)
tree9191b39a36b22345ac9f291fad56f0836e7e27f6 /tools/testing
parenta366e300ae9fc466d333e6d8f2bc5d58ed248041 (diff)
downloadlinux-ae5799dc7ec77fe0382d58cdcba9f6d1204157ae.tar.bz2
ipvlan: properly annotate rx_handler access
The rx_handler field is rcu-protected, but I forgot to use the proper accessor while refactoring netif_is_ipvlan_port(). Such function only check the rx_handler value, so it is safe, but we need to properly read rx_handler via rcu_access_pointer() to avoid sparse warnings. Fixes: 1ec54cb44e67 ("net: unpollute priv_flags space") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions