diff options
author | 2018-02-02 16:02:22 +0100 | |
---|---|---|
committer | 2018-02-02 19:25:03 -0500 | |
commit | 058a6c033488494a6b1477b05fe8e1a16e344462 (patch) | |
tree | 4a415b70f6fb7356d1c093e9c4cc12e17d3052bb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'r8152-fix-rx-issues' (diff) | |
download | linux-dev-058a6c033488494a6b1477b05fe8e1a16e344462.tar.xz linux-dev-058a6c033488494a6b1477b05fe8e1a16e344462.zip |
cls_u32: add missing RCU annotation.
In a couple of points of the control path, n->ht_down is currently
accessed without the required RCU annotation. The accesses are
safe, but sparse complaints. Since we already held the
rtnl lock, let use rtnl_dereference().
Fixes: a1b7c5fd7fe9 ("net: sched: add cls_u32 offload hooks for netdevs")
Fixes: de5df63228fc ("net: sched: cls_u32 changes to knode must appear atomic to readers")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions