summaryrefslogtreecommitdiff
path: root/net/sctp/chunk.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-02-13 12:00:16 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-13 12:29:02 -0500
commitbb047ddd145860ff24820320a21f03cf8c071b22 (patch)
tree86b8b82bf447248596e0a46be3d9e6213a628d97 /net/sctp/chunk.c
parent0f2d2b2736b08dafa3bde31d048750fbc8df3a31 (diff)
downloadlinux-bb047ddd145860ff24820320a21f03cf8c071b22.tar.gz
linux-bb047ddd145860ff24820320a21f03cf8c071b22.tar.bz2
linux-bb047ddd145860ff24820320a21f03cf8c071b22.zip
net: sched: don't set q pointer for shared blocks
It is pointless to set block->q for block which are shared among multiple qdiscs. So remove the assignment in that case. Do a bit of code reshuffle to make block->index initialized at that point so we can use tcf_block_shared() helper. Reported-by: Cong Wang <xiyou.wangcong@gmail.com> Fixes: 4861738775d7 ("net: sched: introduce shared filter blocks infrastructure") Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/chunk.c')
0 files changed, 0 insertions, 0 deletions