diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2019-04-04 15:01:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-04 19:55:59 +0200 |
commit | b2100cc56fca8c51d28aa42a9f1fbcb2cf351996 (patch) | |
tree | f31ed49cb46d49d2d89516a7164784dd71e1c0c7 /net/wireless/trace.c | |
parent | tcp: Ensure DCTCP reacts to losses (diff) | |
download | linux-b2100cc56fca8c51d28aa42a9f1fbcb2cf351996.tar.xz linux-b2100cc56fca8c51d28aa42a9f1fbcb2cf351996.zip |
sch_cake: Use tc_skb_protocol() helper for getting packet protocol
We shouldn't be using skb->protocol directly as that will miss cases with
hardware-accelerated VLAN tags. Use the helper instead to get the right
protocol number.
Reported-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/trace.c')
0 files changed, 0 insertions, 0 deletions