aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netfront.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-05-10 21:59:28 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-11 21:37:40 -0400
commitcb395b2010879a8461aa1b1c37025769708c32cf (patch)
tree6f2fbea893bf9e440268a336fa153b066166993d /drivers/net/xen-netfront.c
parenttcp: avoid fragmenting peculiar skbs in SACK (diff)
downloadlinux-dev-cb395b2010879a8461aa1b1c37025769708c32cf.tar.xz
linux-dev-cb395b2010879a8461aa1b1c37025769708c32cf.zip
net: sched: optimize class dumps
In commit 59cc1f61f09c ("net: sched: convert qdisc linked list to hashtable") we missed the opportunity to considerably speed up tc_dump_tclass_root() if a qdisc handle is provided by user. Instead of iterating all the qdiscs, use qdisc_match_from_root() to directly get the one we look for. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Cc: Cong Wang <xiyou.wangcong@gmail.com> Cc: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions