summaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-02-13 12:00:17 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-13 12:29:02 -0500
commit339c21d7c459238135d87da8fefbfd25d98bc375 (patch)
tree1c8eebd7b5da3e11d1374fe328dc4c254f47d4be /arch/score
parentbb047ddd145860ff24820320a21f03cf8c071b22 (diff)
downloadlinux-339c21d7c459238135d87da8fefbfd25d98bc375.tar.bz2
net: sched: fix tc_u_common lookup
The offending commit wrongly assumes 1:1 mapping between block and q. However, there are multiple blocks for a single q for classful qdiscs. Since the obscure tc_u_common sharing mechanism expects it to be shared among a qdisc, fix it by storing q pointer in case the block is not shared. Reported-by: Paweł Staszewski <pstaszewski@itcare.pl> Reported-by: Cong Wang <xiyou.wangcong@gmail.com> Fixes: 7fa9d974f3c2 ("net: sched: cls_u32: use block instead of q in tc_u_common") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/score')
0 files changed, 0 insertions, 0 deletions