summaryrefslogtreecommitdiffstats
path: root/net/ipv4/raw.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-03-10 17:53:35 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-12 07:17:28 +0100
commit4cda75275f9f89f9485b0ca4d6950c95258a9bce (patch)
tree2c8a0b60de98ed17368e8daa55dae141569c2bbb /net/ipv4/raw.c
parentnet: slcan, slip -- no need for goto when if () will do (diff)
downloadlinux-4cda75275f9f89f9485b0ca4d6950c95258a9bce.tar.xz
linux-4cda75275f9f89f9485b0ca4d6950c95258a9bce.zip
net: sched: make newly activated qdiscs visible
In their .attach callback, mq[prio] only add the qdiscs of the currently active TX queues to the device's qdisc hash list. If a user later increases the number of active TX queues, their qdiscs are not visible via eg. 'tc qdisc show'. Add a hook to netif_set_real_num_tx_queues() that walks all active TX queues and adds those which are missing to the hash list. CC: Eric Dumazet <edumazet@google.com> CC: Jamal Hadi Salim <jhs@mojatatu.com> CC: Cong Wang <xiyou.wangcong@gmail.com> CC: Jiri Pirko <jiri@resnulli.us> Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/raw.c')
0 files changed, 0 insertions, 0 deletions