summaryrefslogtreecommitdiffstats
path: root/net/sched/ematch.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2017-10-13 14:01:00 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-16 21:00:40 +0100
commit34e3759cf86a3e75463e34c1bb9691777406a175 (patch)
tree3f8b7388bf77278669b7bb8c636f0e79520289c8 /net/sched/ematch.c
parent44186460c85a0121562db7cfef132d63c869118f (diff)
downloadop-kernel-dev-34e3759cf86a3e75463e34c1bb9691777406a175.zip
op-kernel-dev-34e3759cf86a3e75463e34c1bb9691777406a175.tar.gz
net: sched: teach tcf_bind/unbind_filter to use block->q
Whenever the block->q is set, it can be used instead of tp->q as it contains the same value. When it is not set, which can't happen now but it might happen with the follow-up shared blocks introduction, the class is not set in the result. That would lead to a class lookup instead of direct class pointer use for classful qdiscs. However, it is not planned to support classful qdisqs sharing filter blocks, so that may never happen. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/ematch.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud