aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-11-19 17:30:19 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-20 09:51:32 -0800
commit6b015a523fa3ba57ccd9c72697163b560fcdedb4 (patch)
tree531594a49b69a9843804d30d7e1f2cd4adb53bf7 /net/ipv4/tcp_ipv4.c
parentMerge branch 'gred-add-offload-support' (diff)
downloadlinux-dev-6b015a523fa3ba57ccd9c72697163b560fcdedb4.tar.xz
linux-dev-6b015a523fa3ba57ccd9c72697163b560fcdedb4.zip
net_sched: sch_fq: avoid calling ktime_get_ns() if not needed
There are two cases were we can avoid calling ktime_get_ns() : 1) Queue is empty. 2) Internal queue is not empty. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions