aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_rate.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-07-09 20:26:47 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-11 23:01:02 -0700
commite0479b670d394d478907bd4fc22daab6516953c7 (patch)
tree6e8305fe6926b8dec39c9eb15e480fc18fc2cd5a /net/ipv4/tcp_rate.c
parentMerge branch 'cxgb4-move-stats-fetched-from-firmware-to-debugfs' (diff)
downloadlinux-dev-e0479b670d394d478907bd4fc22daab6516953c7.tar.xz
linux-dev-e0479b670d394d478907bd4fc22daab6516953c7.zip
net: sched: fix unprotected access to rcu cookie pointer
Fix action attribute size calculation function to take rcu read lock and access act_cookie pointer with rcu dereference. Fixes: eec94fdb0480 ("net: sched: use rcu for action cookie update") Reported-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_rate.c')
0 files changed, 0 insertions, 0 deletions