diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2020-06-25 22:12:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-26 01:24:05 +0200 |
commit | 8c95eca0bb8c4bd2231a0d581f1ad0d50c90488c (patch) | |
tree | b81eccaee3731a5ca290926fbece484249ac2514 /include/media/tuner.h | |
parent | sch_cake: don't try to reallocate or unshare skb unconditionally (diff) | |
download | linux-8c95eca0bb8c4bd2231a0d581f1ad0d50c90488c.tar.xz linux-8c95eca0bb8c4bd2231a0d581f1ad0d50c90488c.zip |
sch_cake: don't call diffserv parsing code when it is not needed
As a further optimisation of the diffserv parsing codepath, we can skip it
entirely if CAKE is configured to neither use diffserv-based
classification, nor to zero out the diffserv bits.
Fixes: c87b4ecdbe8d ("sch_cake: Make sure we can write the IP header before changing DSCP bits")
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/media/tuner.h')
0 files changed, 0 insertions, 0 deletions